/* ==========================================================================
   DAMIEN RIBES MULTI SERVICES — Charte Graphique Grand Confort Visuel
   Large, aéré, contrasté & 100 % Mobile-Friendly
   ========================================================================== */

:root {
  --navy-950: #071016;
  --navy-900: #0b1820;
  --navy-800: #112430;
  --navy-700: #193342;
  --gold-600: #9e7022;
  --gold-500: #c59341;
  --gold-400: #d8a958;
  --gold-300: #ebd09a;
  --gold-100: #faf2e3;
  --cream-50: #faf9f6;
  --cream-100: #f2EFE9;
  --cream-200: #ded9ce;
  --text-dark: #0a141b;
  --text-muted: #26353f;
  --text-light: #f5f4f0;
  --white: #ffffff;
  --shadow-sm: 0 6px 18px rgba(11, 24, 32, 0.07);
  --shadow-md: 0 14px 36px rgba(11, 24, 32, 0.12);
  --shadow-lg: 0 22px 54px rgba(11, 24, 32, 0.20);
  --shadow-gold: 0 10px 28px rgba(197, 147, 65, 0.28);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 18px; /* Base 18px pour une lecture ultra confortable */
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--cream-50);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(197, 147, 65, 0.2);
}

section[id], article[id] {
  scroll-margin-top: 100px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Conteneur large et généreux (jusqu'à 1600px sur grand écran) */
.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ==========================================================================
   TYPOGRAPHIE GRAND CONFORT & BOUTONS
   ========================================================================== */

.section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: var(--gold-100);
  color: #825915;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
  border: 1.5px solid rgba(197, 147, 65, 0.4);
  text-align: center;
}

.section-tag--dark {
  background: rgba(197, 147, 65, 0.18);
  color: var(--gold-300);
  border-color: rgba(197, 147, 65, 0.45);
}

.section-header {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--navy-900);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-title span {
  color: var(--gold-500);
}

.section-subtitle {
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.6;
}

/* Boutons larges et très lisibles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 54px;
  padding: 0.95rem 1.85rem;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.3;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
  touch-action: manipulation;
}

.btn svg {
  flex-shrink: 0;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(197, 147, 65, 0.38);
}

.btn-navy {
  background: var(--navy-900);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: var(--gold-400);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: rgba(197, 147, 65, 0.22);
  border-color: var(--gold-300);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--navy-900);
}

.btn-outline-navy:hover {
  background: var(--navy-900);
  color: var(--white);
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */

.topbar {
  background-color: var(--navy-950);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(197, 147, 65, 0.28);
  padding: 0.65rem 0;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.topbar__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar__item svg {
  color: var(--gold-400);
  flex-shrink: 0;
}

.topbar__item a:hover {
  color: var(--gold-300);
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.topbar__siret {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 600;
}

.topbar__socials {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.topbar__social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(197, 147, 65, 0.2);
  color: var(--gold-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(197, 147, 65, 0.4);
}

.topbar__social-link:hover {
  background: var(--gold-500);
  color: var(--navy-950);
}

.mobile-top-banner {
  display: none;
  background: var(--navy-950);
  color: var(--gold-300);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid rgba(197, 147, 65, 0.25);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(11, 24, 32, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--gold-500);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.brand__logo {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid var(--gold-500);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  letter-spacing: 0.03em;
  color: var(--white);
  line-height: 1.1;
  white-space: nowrap;
}

.brand__name span {
  color: var(--gold-400);
}

.brand__sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.22rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  color: var(--white);
  font-weight: 700;
  font-size: 1.02rem;
  position: relative;
  padding: 0.4rem 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2.5px;
  background: var(--gold-400);
  transition: var(--transition);
}

.nav__link:hover {
  color: var(--gold-300);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__mobile-extra {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header__phone-btn {
  padding: 0.75rem 1.4rem;
  font-size: 1rem;
  min-height: 48px;
}

.header__mobile-call {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
  color: var(--white);
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(197, 147, 65, 0.35);
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(197, 147, 65, 0.6);
  color: var(--white);
  width: 46px;
  height: 46px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-burger {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  background: radial-gradient(circle at 18% 30%, #163040 0%, var(--navy-900) 60%, var(--navy-950) 100%);
  color: var(--white);
  padding: 4.5rem 0 6rem;
  overflow: hidden;
  border-bottom: 4px solid var(--gold-500);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(197, 147, 65, 0.18);
  border: 1.5px solid rgba(197, 147, 65, 0.55);
  color: var(--gold-300);
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
}

.hero__badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(197, 147, 65, 0.28);
  flex-shrink: 0;
}

.hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.hero__title span {
  color: var(--gold-400);
}

.hero__subtitle-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.4rem;
}

.hero__subtitle-bar::before,
.hero__subtitle-bar::after {
  content: '';
  width: 36px;
  height: 2.5px;
  background: var(--gold-500);
  display: inline-block;
}

.hero__slogan {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  color: var(--gold-300);
  margin-bottom: 1rem;
}

.hero__desc {
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2rem;
  max-width: 720px;
  line-height: 1.65;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.35rem;
}

.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hero__trust-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(197, 147, 65, 0.2);
  border: 1.5px solid rgba(197, 147, 65, 0.45);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__trust-text strong {
  display: block;
  font-size: 1rem;
  color: var(--white);
}

.hero__trust-text span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero__card-frame {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 2px solid rgba(197, 147, 65, 0.55);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-lg);
}

.hero__card-img {
  border-radius: var(--radius-md);
  width: 100%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.hero__card-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero__script-motto {
  font-family: 'Caveat', cursive;
  font-size: 1.85rem;
  color: var(--gold-300);
  line-height: 1;
}

.hero__vcard-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-300);
  background: rgba(197, 147, 65, 0.2);
  padding: 0.6rem 1.15rem;
  border-radius: 10px;
  border: 1.5px solid rgba(197, 147, 65, 0.45);
  cursor: pointer;
}

.hero__vcard-btn:hover {
  background: var(--gold-500);
  color: var(--navy-950);
}

/* ==========================================================================
   RUBAN DES 7 PILIERS (GRAND & LISIBLE)
   ========================================================================== */

.pillars-strip {
  position: relative;
  z-index: 10;
  margin-top: -2.8rem;
  margin-bottom: 2rem;
}

.pillars-strip__box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(197, 147, 65, 0.4);
  padding: 1.65rem 1.35rem;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.75rem;
}

.pillar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.95rem 0.6rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}

.pillar-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.38rem;
  top: 15%;
  height: 70%;
  width: 1.5px;
  background: rgba(197, 147, 65, 0.35);
}

.pillar-item:hover {
  background: var(--gold-100);
  transform: translateY(-3px);
}

.pillar-item__icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--navy-900);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  border: 2px solid var(--gold-500);
  transition: var(--transition);
  flex-shrink: 0;
}

.pillar-item:hover .pillar-item__icon {
  background: var(--gold-500);
  color: var(--navy-950);
}

.pillar-item__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy-900);
  line-height: 1.3;
}

/* ==========================================================================
   SECTION LES 7 SERVICES DÉTAILLÉS (CARTES LARGES ET CONFORTABLES)
   ========================================================================== */

.services {
  padding: 5rem 0;
}

.services__grid {
  display: grid;
  /* 2 grandes colonnes sur écran normal, 3 sur très grand écran : zéro texte tassé */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--cream-200);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--navy-900), var(--gold-500));
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-500);
}

.service-card__top {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.25rem;
}

.service-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--navy-900);
  color: var(--gold-400);
  border: 2px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(11, 24, 32, 0.14);
}

.service-card__num {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  color: #8a5f17;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.25rem;
}

.service-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.22;
}

.service-card__desc {
  color: var(--text-muted);
  font-size: 1.06rem;
  font-weight: 500;
  margin-bottom: 1.35rem;
  line-height: 1.6;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  padding-top: 1.15rem;
  border-top: 1.5px dashed var(--cream-200);
}

.service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.5;
}

.service-card__list li svg {
  color: var(--gold-600);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0.2rem;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 54px;
  padding: 0.9rem 1.25rem;
  border-radius: 12px;
  background: var(--cream-100);
  color: var(--navy-900);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  border: 1.5px solid var(--cream-200);
  cursor: pointer;
}

.service-card:hover .service-card__cta {
  background: var(--navy-900);
  color: var(--gold-300);
  border-color: var(--gold-500);
}

/* Carte #8 Bonus "Un seul contact pour tous vos travaux" */
.service-card--highlight {
  background: linear-gradient(145deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  border-color: var(--gold-500);
}

.service-card--highlight .service-card__title {
  color: var(--white);
}

.service-card--highlight .service-card__num {
  color: var(--gold-300);
}

.service-card--highlight .service-card__desc,
.service-card--highlight .service-card__list li {
  color: rgba(255, 255, 255, 0.92);
}

.service-card--highlight .service-card__list li svg {
  color: var(--gold-400);
}

.service-card--highlight .service-card__list {
  border-top-color: rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   VALEURS & ENGAGEMENTS
   ========================================================================== */

.values {
  padding: 5rem 0;
  background: var(--navy-900);
  color: var(--white);
  border-top: 3px solid var(--gold-500);
  border-bottom: 3px solid var(--gold-500);
}

.values__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.values__script {
  font-family: 'Caveat', cursive;
  font-size: clamp(2.5rem, 4.2vw, 3.6rem);
  color: var(--gold-300);
  line-height: 1.08;
  margin-bottom: 0.85rem;
}

.values__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  font-weight: 800;
  margin-bottom: 1.1rem;
  line-height: 1.2;
}

.values__title span {
  color: var(--gold-400);
}

.values__lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
  margin-bottom: 2rem;
}

.values__profiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-bottom: 2rem;
}

.profile-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(197, 147, 65, 0.38);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
}

.profile-badge strong {
  display: block;
  color: var(--gold-300);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.02rem;
  margin-bottom: 0.3rem;
}

.profile-badge span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.values__cards {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.value-box {
  background: rgba(255, 255, 255, 0.06);
  border-left: 5px solid var(--gold-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.65rem 1.85rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.value-box__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(197, 147, 65, 0.22);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  border: 1.5px solid rgba(197, 147, 65, 0.45);
}

.value-box h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.28rem;
  color: var(--gold-300);
  margin-bottom: 0.4rem;
}

.value-box p {
  font-size: 1.04rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   CONFIGURATEUR / SIMULATEUR DE DEVIS INTERACTIF
   ========================================================================== */

.quote-builder {
  padding: 5rem 0;
  background: var(--cream-100);
}

.builder-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(197, 147, 65, 0.4);
  overflow: hidden;
}

.builder-card__header {
  background: var(--navy-900);
  color: var(--white);
  padding: 1.75rem 2.25rem;
  border-bottom: 3px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.builder-card__header h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  color: var(--gold-300);
}

.builder-card__header p {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.88);
}

.builder-card__body {
  padding: 2.25rem;
}

.builder-step-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy-900);
  margin-bottom: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.builder-step-label span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.chips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 0.95rem;
  margin-bottom: 2.25rem;
}

.service-chip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 58px;
  padding: 0.9rem 1.15rem;
  border-radius: 12px;
  border: 2px solid var(--cream-200);
  background: var(--cream-50);
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy-900);
  transition: var(--transition);
  user-select: none;
}

.service-chip:hover {
  border-color: var(--gold-500);
}

.service-chip.active {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--gold-500);
  box-shadow: 0 6px 16px rgba(11, 24, 32, 0.16);
}

.service-chip__check {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 2px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: transparent;
  font-size: 0.95rem;
}

.service-chip.active .service-chip__check {
  background: var(--gold-500);
  color: var(--navy-950);
}

.builder-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--navy-900);
}

.form-control {
  width: 100%;
  min-height: 54px;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 2px solid var(--cream-200);
  background: var(--cream-50);
  font-family: inherit;
  font-size: 1.02rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(197, 147, 65, 0.22);
}

.builder-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1.5px solid var(--cream-200);
}

.builder-actions--single {
  justify-content: center;
}

.btn-submit-direct {
  width: 100%;
  max-width: 480px;
  min-height: 60px;
  font-size: 1.1rem;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(197, 147, 65, 0.35);
}

.btn-submit-direct:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* Bloc Captcha Anti-Robot */
.captcha-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  background: var(--cream-50);
  border: 2px solid var(--cream-200);
  border-radius: 14px;
  padding: 1.1rem 1.35rem;
  margin-bottom: 1.1rem;
}

.captcha-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy-900);
  user-select: none;
}

.captcha-checkbox {
  width: 22px;
  height: 22px;
  accent-color: var(--gold-500);
  cursor: pointer;
}

.captcha-math {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.captcha-math__label {
  font-size: 0.96rem;
  color: var(--navy-900);
}

.captcha-math__label strong {
  color: var(--gold-600);
  font-size: 1.05rem;
  background: rgba(197, 147, 65, 0.15);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.captcha-math__input {
  width: 90px !important;
  min-height: 44px !important;
  padding: 0.45rem 0.75rem !important;
  text-align: center;
  font-weight: 800;
}

.quote-error-msg {
  background: #fef2f2;
  border: 1.5px solid #ef4444;
  color: #991b1b;
  padding: 0.9rem 1.15rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.75rem;
}

/* Bloc de confirmation après envoi réussi */
.quote-success-box {
  text-align: center;
  padding: 3rem 2rem;
}

.quote-success__icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: #16a34a;
  color: #ffffff;
  font-size: 2.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
}

.quote-success__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  color: var(--navy-900);
  margin-bottom: 0.6rem;
}

.quote-success__subtitle {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 1.5rem;
  font-size: 1.02rem;
}

.quote-success__summary {
  max-width: 580px;
  margin: 0 auto;
  text-align: left;
  background: var(--cream-50);
  border: 1.5px solid var(--cream-200);
  border-left: 5px solid #16a34a;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.builder-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ==========================================================================
   ZONE D'INTERVENTION (LANDES 40 & PAYS BASQUE 64)
   ========================================================================== */

.area {
  padding: 5rem 0;
  background: var(--white);
}

.area__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: stretch;
}

.area-zones {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.zone-box {
  background: var(--cream-50);
  border: 1.5px solid var(--cream-200);
  border-left: 6px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.zone-box__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.zone-box__head h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--navy-900);
}

.zone-box__dept {
  background: var(--navy-900);
  color: var(--gold-300);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.86rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.city-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.city-tag {
  background: var(--white);
  border: 1.5px solid var(--cream-200);
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.area-map-card {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 2px solid var(--gold-500);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.area-map-card__top h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  color: var(--gold-300);
  margin-bottom: 0.8rem;
}

.area-map-card__top p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.area-svg-wrap {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(197, 147, 65, 0.38);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq {
  padding: 5rem 0;
  background: var(--cream-50);
}

.faq__list {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.faq-item {
  background: var(--white);
  border: 1.5px solid var(--cream-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.4rem 1.65rem;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 700;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-question__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
  transition: var(--transition);
}

.faq-item.open .faq-question__icon {
  background: var(--gold-500);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer__inner {
  padding: 0 1.65rem 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ==========================================================================
   CONTACT & CARTE DE VISITE OFFICIELLE
   ========================================================================== */

.contact {
  padding: 5rem 0;
  background: var(--navy-950);
  color: var(--white);
  border-top: 4px solid var(--gold-500);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin: 2rem 0 0;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(197, 147, 65, 0.3);
  transition: var(--transition);
  min-width: 0;
}

.contact-row > div:last-child {
  min-width: 0;
  flex: 1;
}

.contact-row:hover {
  background: rgba(197, 147, 65, 0.14);
  border-color: var(--gold-400);
}

.contact-row__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy-800);
  border: 2px solid var(--gold-500);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-row__label {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-300);
  font-weight: 700;
}

.contact-row__value {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  font-weight: 700;
  color: var(--white);
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ==========================================================================
   FOOTER & BARRE FLOTTANTE MOBILE
   ========================================================================== */

.footer {
  background: #050b0f;
  color: rgba(255, 255, 255, 0.78);
  padding: 2.25rem 0;
  border-top: 1px solid rgba(197, 147, 65, 0.28);
  font-size: 0.95rem;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__links a:hover,
.footer__links button:hover {
  color: var(--gold-300);
}

.link-btn {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 110;
  background: rgba(7, 16, 22, 0.98);
  backdrop-filter: blur(12px);
  border-top: 2px solid var(--gold-500);
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
  gap: 0.5rem;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.45);
}

.mobile-sticky-bar .btn {
  flex: 1;
  min-height: 48px;
  padding: 0.6rem 0.5rem;
  font-size: 0.88rem;
  border-radius: 10px;
  gap: 0.4rem;
}

/* Modale Mentions Légales */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 16, 22, 0.84);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.active {
  display: flex;
}

.modal {
  background: var(--white);
  color: var(--text-dark);
  max-width: 740px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gold-500);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--cream-200);
}

.modal__head h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
}

.modal__close {
  background: var(--cream-100);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
}

.modal h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--navy-900);
  margin: 1.1rem 0 0.35rem;
}

.modal p {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  left: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  background: var(--navy-900);
  color: var(--white);
  border: 2px solid var(--gold-500);
  padding: 1rem 1.35rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 300;
  transform: translateY(200%);
  transition: transform 0.3s ease;
  font-weight: 700;
  font-size: 0.96rem;
}

.toast.show {
  transform: translateY(0);
}

/* ==========================================================================
   POINTS DE RUPTURE RESPONSIVE (TABLETTE & MOBILE)
   ========================================================================== */

@media (max-width: 1280px) {
  .pillars-strip__box {
    grid-template-columns: repeat(4, 1fr);
  }
  .pillar-item:nth-child(4)::after {
    display: none;
  }
}

@media (max-width: 1080px) {
  .container {
    padding: 0 1.75rem;
  }
  .hero__grid,
  .values__grid,
  .area__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  html {
    font-size: 17px;
  }
  .topbar {
    display: none;
  }
  .mobile-top-banner {
    display: block;
  }
  .header__inner {
    height: 74px;
  }
  .brand__logo {
    width: 46px;
    height: 46px;
  }
  .header__phone-btn {
    display: none;
  }
  .header__mobile-call {
    display: inline-flex;
  }
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
    background: var(--navy-950);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.25rem 2rem;
    gap: 0.45rem;
    border-bottom: 3px solid var(--gold-500);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 115;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__link {
    padding: 0.9rem 1.1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.05rem;
  }
  .nav__link::after {
    display: none;
  }
  .nav__mobile-extra {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(197, 147, 65, 0.28);
  }

  .mobile-sticky-bar {
    display: flex;
  }
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  .toast {
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.1rem;
  }

  .hero {
    padding: 2.25rem 0 3.75rem;
  }
  .hero__ctas {
    flex-direction: column;
    margin-bottom: 1.75rem;
  }
  .hero__ctas .btn {
    width: 100%;
  }
  .hero__trust {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  .hero__card-frame {
    padding: 0.95rem;
  }
  .hero__card-caption {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .hero__vcard-btn {
    width: 100%;
  }

  .pillars-strip {
    margin-top: -1.85rem;
  }
  .pillars-strip__box {
    grid-template-columns: repeat(2, 1fr);
    padding: 0.9rem;
    gap: 0.55rem;
  }
  .pillar-item {
    background: var(--cream-50);
    border: 1px solid var(--cream-200);
    padding: 0.85rem 0.55rem;
  }
  .pillar-item::after {
    display: none;
  }
  .pillar-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 0.9rem;
    text-align: left;
    padding: 0.85rem 1.1rem;
  }
  .pillar-item:last-child:nth-child(odd) .pillar-item__icon {
    margin-bottom: 0;
  }
  .pillar-item:last-child:nth-child(odd) .pillar-item__title br {
    display: none;
  }

  .services,
  .values,
  .quote-builder,
  .area,
  .faq,
  .contact {
    padding: 3.25rem 0;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .service-card {
    padding: 1.5rem;
  }

  .values__profiles {
    grid-template-columns: 1fr;
  }
  .values .btn {
    width: 100%;
  }
  .value-box {
    padding: 1.25rem;
  }

  .builder-card__header,
  .builder-card__body {
    padding: 1.35rem;
  }
  .chips-grid,
  .builder-form-grid {
    grid-template-columns: 1fr;
  }
  .builder-actions,
  .builder-buttons {
    flex-direction: column;
    width: 100%;
  }
  .builder-buttons .btn {
    width: 100%;
  }

  .area-map-card {
    padding: 1.4rem;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
  .footer__links {
    justify-content: center;
  }
}
