* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #0f0f0f;
  color: #eee;
}

html {
  scroll-behavior: smooth;
}

/* Containers */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(16, 16, 16, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 80px;
  padding: 0 20px;
}

.logo img {
  height: 65px;
}

/* NAVIGATION LINKS */
.main-nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav ul li a {
  position: relative;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  padding: 8px 0;
  transition: color 0.3s ease;
}

/* TRAIT ANIMÉ */
.main-nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1.5px;
  background: #f5b400;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* HOVER */
.main-nav ul li a:hover {
  color: #f5b400;
}

.main-nav ul li a:hover::after {
  transform: scaleX(1);
}

/* PAGE ACTIVE (WordPress ajoute automatiquement ces classes) */
.main-nav ul li.current-menu-item a,
.main-nav ul li.current_page_item a {
  color: #f5b400;
}

.main-nav ul li.current-menu-item a::after,
.main-nav ul li.current_page_item a::after {
  transform: scaleX(1);
}

.main-nav ul li a.active {
  color: #f5b400;
}

.main-nav ul li a.active::after {
  transform: scaleX(1);
}

/* MENU CENTRÉ DESKTOP */
.main-nav {
  justify-self: center;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 40px;
}

.main-nav a {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.main-nav a:hover {
  color: #f5b400;
}

/* DROITE */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-contact-bar,
.desktop-contact {
  display: none;
  gap: 12px;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.mobile-contact-bar a,
.desktop-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Boutons CONTACT uniquement (header / mobile) */
.mobile-contact-bar .btn-outline,
.desktop-contact .btn-outline,
.mobile-contact-bar .btn-primary,
.desktop-contact .btn-primary {
  padding: 5px 11px;
  font-size: 14px;
  font-weight: 700;
  color: #DDDDDD;
  box-shadow: 0 4px 12px rgba(245, 180, 0, 0.35);
  border-radius: 999px;
  border-width: 1px;
  letter-spacing: 0.3px;
}

/* Bouton téléphone (outline) - hover spécifique */
.mobile-contact-bar .btn-outline:hover,
.desktop-contact .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  color: #fff;
  transform: translateY(-2px);
}

/* Icônes dans les boutons de contact */
.mobile-contact-bar img,
.desktop-contact img {
  width: 24px;
  height: 24px;
  display: block;
}

/* BURGER */
.burger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.burger-line {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.burger-line:nth-child(1) {
  top: 0;
}

.burger-line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.burger-line:nth-child(3) {
  bottom: 0;
}

/* BURGER OUVERT (croix) */
.burger.active .burger-line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.burger.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

.desktop-contact {
  display: flex;
  gap: 12px;
}

.grw-widget {
  max-width: 70%;
  margin: 0 auto;
}

/* HERO */
.hero {
  height: 100vh;
  background: url("../images/hero.jpg") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
}

.hero-content {
  position: relative;
  max-width: 800px;
  padding: 20px;
  animation: fadeUp 1s ease;
}

.hero h1 {
  font-size: 60px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 22px;
  margin-bottom: 40px;
  color: #ddd;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 16px;
  font-weight: 700;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  background: #f5b400;
  color: #000;
  padding: 15px 35px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 40px;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #ffd54f;
  transform: translateY(-3px);
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 40px;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #fff;
  color: #000;
}

/* SERVICES */
.services {
  padding: 40px 20px 80px;
  background: #121212;
  text-align: center;
}

.services h2 {
  font-size: 42px;
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}

.service-card {
  background: #1a1a1a;
  padding: 50px 20px;
  border-radius: 12px;
  font-size: 20px;
  transition: 0.4s;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}

.service-card:hover {
  transform: translateY(-10px);
  background: #222;
}

/* ABOUT */
.google-section {
  padding: 120px 20px;
  background: url("../images/hero.jpg") center/cover fixed;
  position: relative;
}

.google-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}

.google-reviews {
  position: relative;
  max-width: 1000px;
  margin: auto;
  background: #1a1a1a;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
}

.google-section h2 {
  font-size: 38px;
  margin-bottom: 25px;
}

/* FOOTER */
.site-footer {
  background: rgba(16, 16, 16, 0.85);
  padding: 45px 20px 30px;
  color: #ddd;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid #222;
}

/* COLONNE GAUCHE */
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 25px;
}

.footer-left h2 {
  margin-bottom: 0;
}

.footer-left h2 img {
  height: 110px;
}

.footer-description {
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: #aaa;
  margin-bottom: 0;
  max-width: 350px;
}

.footer-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.banner-logo {
  width: 100px;
  height: 50px;
  object-fit: contain;
}

.footer-social {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.footer-social>div:first-child {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.footer-social>div:last-child {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: inline-block;
  transition: transform 0.3s;
}

.footer-social img {
  width: 32px;
  height: 32px;
  filter: brightness(0.8);
  transition: filter 0.3s;
}

.footer-social a:hover img {
  filter: brightness(1.2);
  transform: scale(1.1);
}

/* COLONNE DROITE */
.footer-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-column h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #f5b400;
}

.ti-widget-container {
  align-items: left;
  justify-content: left;
  text-align: left;
}

.footer-column.quick-links {
  display: flex;
  flex-direction: column;
}

.footer-column.quick-links ul {
  margin-bottom: 20px;
}

.footer-column .google-badge {
  transform: scale(0.75);
  transform-origin: left top;
  margin-top: 15px;
}

.footer-column.quick-links .google-badge {
  margin-left: 0;
  text-align: left;
}

/* Forcer Trustindex à ne pas se centrer */
.footer-column.quick-links .google-badge * {
  margin-left: 0 !important;
  text-align: left !important;
}

/* BOÎTES INFO (Location & Contact) */
.footer-info-box {
  background: #151515;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 20px;
  border-left: 2px solid #333;
}

.info-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
}

.info-row:not(:last-child) {
  border-bottom: 1px solid #222;
  margin-bottom: 8px;
}

.info-row img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.info-row p {
  margin: 0;
  font-size: 13px;
  color: #aaa;
}

.footer-map-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* feedback visuel discret */
.footer-map-link:hover .footer-info-box {
  opacity: 0.85;
  cursor: pointer;
}

/* LEGAL */
.footer-legal {
  max-width: 1200px;
  margin: 0 auto;
  padding: 25px 20px 0;
  border-top: 1px solid #222;
}

.footer-legal-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: #888;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

.footer-legal-links a:hover {
  color: #f5b400;
}

.footer-legal-links .separator {
  color: #444;
  font-size: 12px;
}

.footer-siret {
  font-size: 12px;
  color: #666;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.5px;
}

/* COPYRIGHT */
.footer-copyright {
  text-align: center;
  padding-top: 30px;
}

.footer-copyright p {
  font-size: 13px;
  color: #777;
  margin: 0;
}

.grecaptcha-badge {
  visibility: hidden !important;
}

@media (max-width: 960px) {

  .hero h1 {
    font-size: 38px;
  }

  .google-reviews {
    padding: 30px 5px;
  }

  .grw-widget {
    max-width: 100% !important;
  }

  .desktop-contact {
    display: none;
    /* masqué sur mobile */
  }

  /* Cache le menu desktop */
  .main-nav ul {
    display: none;
  }

  /* Burger visible */
  .burger {
    display: block;
    font-size: 26px;
    cursor: pointer;
  }

  /* MENU OUVERT */
  .main-nav ul.show {
    display: flex;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #0f0f0f;
    border-top: 1px solid #1e1e1e;
    border-bottom: 1px solid #1e1e1e;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    z-index: 999;
  }

  .main-nav ul.show li a {
    color: #ccc;
    transition: color 0.3s;
  }

  .main-nav ul.show li a:hover {
    color: #f5b400;
  }

  .main-nav a {
    font-size: 18px;
  }

  .main-nav ul li a.active {
    color: #f5b400;
  }

  .main-nav ul li a.active::after {
    transform: scaleX(1);
  }

  /* BARRE CONTACT = flottante en bas (sans bandeau) */
  .mobile-contact-bar {
    position: fixed !important;
    bottom: 26px;
    left: 0;
    width: 100%;
    padding: 0 22px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: none;
    box-shadow: none;
    backdrop-filter: none;

    z-index: 999;
  }

  /* Boutons = ronds, icône seule */
  .mobile-contact-bar a {
    width: 52px;
    height: 52px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
  }

  /* Texte caché */
  .mobile-contact-bar span {
    display: none;
  }

  /* Icônes visibles */
  .mobile-contact-bar img {
    width: 25px;
    height: 25px;
    display: block;
  }

  /* TEL */
  .mobile-contact-bar .btn-outline {
    border: 1px solid #fff;
    background: rgba(0, 0, 0, 0.6);
  }

  .mobile-contact-bar .btn-outline:hover {
    background: #fff;
  }

  .mobile-contact-bar .btn-outline:hover img {
    filter: invert(1);
  }

  /* EMAIL */
  .mobile-contact-bar .btn-primary {
    background: #f5b400;
  }

  .mobile-contact-bar .btn-primary img {
    width: 28px;
    height: 28px;
  }
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
  .site-footer {
    padding: 40px 20px 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-right {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-description {
    max-width: 100%;
  }

  .footer-column ul,
  .footer-column h3 {
    display: none;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-info-box {
    width: 100%;
    max-width: 320px;
  }

  .footer-column.quick-links {
    align-items: center;
    text-align: center;
  }

  .footer-column.quick-links ul {
    padding-left: 0;
  }

  .footer-column .google-badge {
    transform: scale(0.85);
    transform-origin: center top;
    display: flex;
    justify-content: center;
  }

  .footer-column.quick-links .google-badge {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-column.quick-links .google-badge * {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .footer-legal-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-legal-links {
    justify-content: center;
  }
}

/* ANIMATION */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}