@import url("fontawesome-all.min.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f2f2f2;
  font: 400 15px/1.7 Arial, sans-serif;
  color: #696969;
}

a {
  color: #0000ff;
  text-decoration: none;
  transition: color .2s;
}
a:hover {
  color: #ff0000;
}

h1, h2, h3 { color: #444; font-weight: 700; line-height: 1.3; }
h2 { font-size: 1.6em; margin: 0 0 0.6em; }
h3 { font-size: 1.1em; font-weight: 700; color: #444; text-decoration: underline; margin: 0.5em 0; }
h4 { color: #444; font-size: 1.1em; margin: 0.4em 0; }

p, ul, ol {
  margin-bottom: 1.2em;
}

strong, b { font-weight: 700; color: #444; }
img { max-width: 100%; height: auto; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: -50px -15px 0 -15px;
}
.row > * {
  padding: 50px 15px 0 15px;
}

.col-3 { width: 25%; }
.col-4 { width: 33.333%; }
.col-5 { width: 41.666%; }
.col-6 { width: 50%; }
.col-7 { width: 58.333%; }
.col-8 { width: 66.666%; }
.col-12 { width: 100%; }

@media screen and (max-width: 1024px) {
  .col-4, .col-5, .col-6, .col-7, .col-8 { width: 100%; }
  .col-3 { width: 50%; }
}

@media screen and (max-width: 736px) {
  .col-3 { width: 100%; }
}

/* Scroll offset for sticky header */
article[id] {
  scroll-margin-top: 100px;
}

/* Header (Avada-style) */
#header-wrapper {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 1000;
}

#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px;
}

#logo {
  display: flex;
  align-items: center;
}
#logo img {
  max-height: 100px;
  width: auto;
}

/* Navigation */
#nav ul {
  list-style: none;
  display: flex;
}
#nav ul li {
  position: relative;
}
#nav ul li a {
  display: block;
  padding: 10px 16px;
  color: #000;
  font-weight: 600;
  letter-spacing: 0.5px;
}
#nav ul li a:hover {
  color: #ff0000;
}
#nav ul li.current a {
  color: #0000ff;
}
#nav ul li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  min-width: 200px;
  z-index: 999;
  padding: 10px 0;
}
#nav ul li:hover > ul {
  display: block;
}
#nav ul li > ul li {
  display: block;
}
#nav ul li > ul li a {
  padding: 8px 20px;
  letter-spacing: 0;
}
#nav ul li > ul li > ul {
  left: 100%;
  top: 0;
}

/* Mobile nav toggle */
#navToggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: #000;
  padding: 10px;
}

@media screen and (max-width: 768px) {
  #navToggle { display: block; }
  #nav { display: none; width: 100%; }
  #nav.open { display: block; }
  #header { flex-wrap: wrap; }
  #nav ul { flex-direction: column; }
  #nav ul li > ul { position: static; box-shadow: none; padding-left: 20px; display: none; }
  #nav ul li:hover > ul { display: none; }
  #nav ul li.open > ul { display: block; }
}

/* Page Title Bar */
#page-title-bar {
  background: #0000ff;
  padding: 22px 0;
}
#page-title-bar h1 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.2;
  text-align: center;
}

/* Banner / Hero */
#banner-wrapper {
  padding: 40px 0;
}

#banner {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
#banner h2 {
  color: #444;
  margin: 0 0 10px 0;
}
#banner h3 {
  font-weight: 400;
  color: #696969;
  margin: 0 0 20px 0;
}
#banner ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#banner ul li {
  padding: 6px 0;
}

/* Button */
.button {
  display: block;
  width: 100%;
  background: #0000ff;
  color: #fff;
  padding: 12px 20px;
  border-radius: 4px;
  font-family: Arial, sans-serif;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  text-align: center;
  margin-bottom: 10px;
}
.button:hover {
  background: #ff0000;
  color: #fff;
}
.button.icon:before {
  margin-right: 8px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

/* Sections */
#main-wrapper {
  padding: 50px 0;
}

#features-wrapper {
  padding: 50px 0;
}

#content {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
#content h2, #features-wrapper h2 {
  color: #444;
  border-bottom: 2px solid #0000ff;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.box.feature {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: box-shadow .2s;
  height: 100%;
}
.box.feature:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.box.feature .image {
  display: block;
  width: 100%;
}
.box.feature .image img {
  width: 100%;
  display: block;
}
.box.feature .inner {
  padding: 20px;
}


.image.featured {
  display: block;
  width: 100%;
}
.image.featured img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

/* Footer */
#footer-wrapper {
  background: #000;
  color: #fff;
  padding: 20px 0;
}
#footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
#footer #copyright {
  color: #fff;
  font-size: 15px;
}
#footer #copyright a {
  color: #fff;
  text-decoration: underline;
}
#footer #copyright a:hover {
  color: #ff0000;
}
#footer .social-links {
  margin-top: 15px;
}
#footer .social-links a {
  display: inline-block;
  color: #fff;
  font-size: 20px;
  margin: 0 10px;
  transition: color .2s;
}
#footer .social-links a:hover {
  color: #ff0000;
}

/* RGPD Cookie */
#emergenteRGPD {
  background: #000;
  color: #fff;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 20px;
  font-size: 15px;
  opacity: 0.85;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
#emergenteRGPD p {
  margin: 0;
}
#emergenteRGPD a { color: #0000ff; }
#emergenteRGPD a:hover { color: #fff; }
#botonRGPD {
  background: #0000ff;
  color: #fff;
  padding: 6px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  transition: background .2s;
  white-space: nowrap;
}
#botonRGPD:hover {
  background: #ff0000;
}

/* Image sidebar */
#sidebar {
  margin-bottom: 20px;
}

.widget-thumbnails .grid .row {
  margin: 0;
}
.widget-thumbnails .grid .row > * {
  padding: 0;
}

/* Utility */
.half { margin: 0; }
.no-collapse { margin: 0; }
.no-collapse > * { padding: 0; }

footer[align="right"] {
  text-align: right;
  margin-top: 20px;
}

.spacer { height: 50px; }

/* Sidebar widget lists */
ul.style2 {
  list-style: none;
  padding: 0;
}
ul.style2 li {
  padding: 4px 0;
}
#sidebar ul.style2 li a {
  color: #000;
}
#sidebar ul.style2 li a:hover {
  color: #ff0000;
}


/* Blog */
.blog-post {
  margin-bottom: 50px;
}
.blog-post h2 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 5px;
}
.blog-post h2 a {
  color: #444;
}
.blog-post h2 a:hover {
  color: #ff0000;
}
.post-meta {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 10px;
}
.post-meta a {
  color: #0000ff;
}
.post-excerpt {
  font-size: 14px;
  color: #999;
  font-style: italic;
  margin-bottom: 10px;
}
.post-divider {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 50px 0;
}
#sidebar section.widget {
  margin-bottom: 30px;
}
#sidebar section.widget h3,
#banner .widget h3 {
  font-size: 16px;
  font-weight: 700;
  color: #444;
  border-bottom: 2px solid #0000ff;
  padding-bottom: 8px;
  margin-bottom: 15px;
}
.tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tagcloud a {
  display: inline-block;
  background: #f1f1f1;
  color: #000;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 12px;
  transition: all .2s;
}
.tagcloud a:hover {
  background: #ff0000;
  color: #fff;
}

/* Responsive helpers */
@media screen and (max-width: 1024px) {
  #banner { padding: 25px; }
  #content { padding: 20px; }
}

@media screen and (max-width: 736px) {
  body { font-size: 14px; }
  h2 { font-size: 1.4em; }
  #banner { padding: 20px; }
  #header { padding: 8px 15px; }
  #logo img { max-height: 40px; }
  .container { padding: 0 15px; }
}
