/* ============ Design tokens ============ */
:root {
  --navy-950: #071226;
  --navy-900: #0b1f3a;
  --navy-800: #12294d;
  --navy-700: #1c3a68;
  --amber-500: #f5a524;
  --amber-600: #e08e0b;
  --amber-50: #fef3e0;
  --paper: #faf8f4;
  --paper-dim: #f2ede4;
  --ink-900: #1c1a17;
  --ink-700: #423f3a;
  --ink-500: #756f66;
  --ink-300: #cbc4b8;
  --ink-100: #e8e3da;
  --white: #ffffff;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(28, 26, 23, 0.06);
  --shadow-md: 0 12px 28px rgba(28, 26, 23, 0.10);
  --shadow-lg: 0 24px 60px rgba(7, 18, 38, 0.28);
  --container-w: 1160px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 .55em; color: var(--navy-900); font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; color: var(--ink-700); }
a { color: var(--navy-800); text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--amber-500);
  color: var(--navy-950);
  padding: .6rem 1rem;
  z-index: 1000;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ============ Reveal on scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ Kicker / eyebrow ============ */
.kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
  font-weight: 800;
  color: var(--amber-600);
  margin: 0 0 .75rem;
}
.kicker--light { color: var(--amber-500); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  font-family: var(--font-body);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 1.15em; height: 1.15em; }

.btn-accent {
  background: var(--amber-500);
  color: var(--navy-950);
  box-shadow: 0 10px 24px rgba(245, 165, 36, 0.35);
}
.btn-accent:hover { background: #ffb741; }

.btn-ghost {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.55);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,.16); }

.btn-outline {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-800);
}
.btn-outline:hover { background: var(--navy-900); color: #fff; }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.btn-block { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250,248,244,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-100);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy-900);
  font-family: var(--font-display);
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--amber-500);
}
.logo-badge .icon { width: 22px; height: 22px; }

.logo-text strong { color: var(--amber-600); font-weight: 800; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text em {
  font-style: normal;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-500);
}

.main-nav {
  display: flex;
  gap: 2rem;
}
.main-nav a {
  color: var(--ink-700);
  font-weight: 600;
  font-size: .93rem;
}
.main-nav a:hover { color: var(--navy-900); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-actions .btn-whatsapp { padding: .75rem 1.35rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px; height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy-900);
  border-radius: 2px;
}

/* ============ Hero (cinematic video) ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-950);
}

.hero-bar {
  position: absolute;
  left: 0; right: 0;
  height: clamp(10px, 3vh, 34px);
  background: #000;
  z-index: 4;
}
.hero-bar--top { top: 0; }
.hero-bar--bottom { bottom: 0; }

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  filter: saturate(1.05) contrast(1.02);
  animation: hero-kenburns 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes hero-kenburns {
  from { transform: scale(1) translate3d(0,0,0); }
  to { transform: scale(1.12) translate3d(-1%, -1%, 0); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 78% 20%, rgba(245,165,36,.22), transparent 60%),
    linear-gradient(100deg, rgba(7,18,38,.94) 0%, rgba(7,18,38,.82) 38%, rgba(7,18,38,.55) 66%, rgba(7,18,38,.4) 100%),
    linear-gradient(0deg, rgba(7,18,38,.7) 0%, rgba(7,18,38,.1) 40%);
}

.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(245,165,36,.16), transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
}
.hero:hover .hero-spotlight { opacity: 1; }

.sound-toggle {
  position: absolute;
  top: clamp(20px, 4vh, 44px);
  right: 1.5rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1rem .55rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(7,18,38,.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease;
}
.sound-toggle:hover { background: rgba(7,18,38,.8); }
.sound-toggle .icon { width: 18px; height: 18px; color: var(--amber-500); }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.cinematic-in {
  opacity: 0;
  transform: translateY(22px);
  animation: cinematic-in .8s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes cinematic-in {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .cinematic-in { animation: none; opacity: 1; transform: none; }
  .hero-video { animation: none; }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 6vh, 48px);
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.6);
}
.scroll-cue span {
  width: 22px; height: 34px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 12px;
  position: relative;
}
.scroll-cue span::before {
  content: "";
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 8px;
  background: var(--amber-500);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scroll-cue-dot 1.6s infinite ease;
}
@keyframes scroll-cue-dot {
  0% { opacity: 1; top: 6px; }
  70% { opacity: 0; top: 18px; }
  100% { opacity: 0; top: 6px; }
}
.scroll-cue em { font-style: normal; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 800;
  color: var(--amber-500);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  color: #fff;
  margin-bottom: 1rem;
}
.hero h1 em { color: var(--amber-500); font-style: normal; }

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  max-width: 48ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.75rem 0;
}

.hero-trust {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  color: rgba(255,255,255,.85);
  font-size: .93rem;
  font-weight: 600;
}
.hero-trust li { display: flex; align-items: center; gap: .6rem; }
.hero-trust svg { width: 18px; height: 18px; color: var(--amber-500); flex-shrink: 0; }

/* ============ Stats strip ============ */
.stats {
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.25rem 1.5rem;
}

.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--amber-500);
  margin-bottom: .3rem;
}
.stat span { color: rgba(255,255,255,.72); font-size: .85rem; font-weight: 600; }

/* ============ Sections ============ */
#prestations, #tarifs, #devis, #apropos, #contact { scroll-margin-top: 78px; }
.section { padding: 6rem 0; }
.section-alt { background: var(--paper-dim); }
.section-dark { background: var(--navy-950); }
.section-dark .kicker { color: var(--amber-500); }
.section-dark h2, .section-dark p:not(.about-values *) { color: #fff; }
.section-dark p { color: rgba(255,255,255,.78); }
.section-dark .about-values { color: #fff; }

.section-devis {
  position: relative;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(245,165,36,.14), transparent 65%),
    var(--navy-950);
  overflow: hidden;
}

.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}
.section-title--left { text-align: left; margin-left: 0; }

.section-subtitle {
  text-align: center;
  max-width: 58ch;
  margin: 0 auto 3rem;
  color: var(--ink-500);
  font-size: 1.02rem;
}
.section-subtitle--left { text-align: left; margin-left: 0; }

.section > .container > .kicker,
.section .about-copy .kicker { display: block; text-align: center; }
#apropos .kicker, #contact .kicker { text-align: left; }

/* ============ Cards / prestations ============ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--amber-500); }

.card-icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-900);
  color: var(--amber-500);
  border-radius: 14px;
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 26px; height: 26px; }

.card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.card p { margin: 0; font-size: .95rem; }

.card--wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--navy-950);
  border-color: var(--navy-950);
}
.card--wide .card-icon { background: var(--amber-500); color: var(--navy-950); margin-bottom: 0; flex-shrink: 0; }
.card--wide h3 { color: #fff; }
.card--wide p { color: rgba(255,255,255,.72); margin: 0; }
.card--wide:hover { border-color: var(--amber-500); }

/* ============ Pricing table ============ */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ink-100);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 520px;
}

.price-table th {
  background: var(--navy-950);
  color: #fff;
  text-align: left;
  padding: 1.1rem 1.5rem;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
}

.price-table td {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--ink-100);
  font-size: .97rem;
  color: var(--ink-700);
}
.price-table td span { color: var(--ink-500); font-size: .85rem; }

.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: var(--paper-dim); }
.price-table td strong { color: var(--amber-600); }
.price-table .cell-highlight { color: var(--amber-600); font-weight: 800; }

.price-note {
  text-align: center;
  font-size: .85rem;
  color: var(--ink-500);
  margin-top: 1.5rem;
}

/* ============ Assistant conversationnel (devis) ============ */
.chat-box {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.1rem 1.4rem;
  background: var(--navy-950);
  color: #fff;
}

.chat-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--amber-500);
  color: var(--navy-950);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid var(--amber-500);
}
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-avatar .icon { width: 22px; height: 22px; }

.chat-header-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.chat-header-text strong { font-family: var(--font-display); font-size: 1rem; }
.chat-header-text span { font-size: .78rem; color: rgba(255,255,255,.6); }

.chat-icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s ease;
}
.chat-icon-btn:hover { background: rgba(255,255,255,.16); }
.chat-icon-btn .icon { width: 19px; height: 19px; }
.chat-icon-btn[aria-pressed="false"] { color: var(--ink-300); }

.chat-log {
  padding: 1.5rem;
  min-height: 260px;
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  background: var(--paper-dim);
}

.chat-bubble {
  max-width: 82%;
  padding: .9rem 1.2rem;
  border-radius: 18px;
  font-size: 1.02rem;
  line-height: 1.55;
  animation: chat-pop .25s ease;
}
@keyframes chat-pop {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-bubble--bot {
  align-self: flex-start;
  background: #fff;
  color: var(--ink-900);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.chat-bubble--user {
  align-self: flex-end;
  background: var(--amber-500);
  color: var(--navy-950);
  font-weight: 600;
  border-bottom-right-radius: 4px;
}

.chat-typing { display: flex; gap: 4px; align-items: center; padding: .9rem 1.1rem; }
.chat-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-300);
  animation: chat-blink 1s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chat-blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  padding: 0 1.5rem 1.25rem;
  background: var(--paper-dim);
}

.quick-reply-btn {
  padding: .6rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid var(--navy-800);
  background: #fff;
  color: var(--navy-900);
  font-weight: 700;
  font-size: .85rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.quick-reply-btn:hover { background: var(--navy-900); color: #fff; transform: translateY(-1px); }

.chat-whatsapp-btn { width: 100%; }

.chat-text-prompt {
  display: flex;
  gap: .6rem;
  width: 100%;
}
.chat-text-input {
  flex: 1;
  padding: .7rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--ink-300);
  font-size: .9rem;
  font-family: var(--font-body);
}
.chat-text-submit {
  padding: .7rem 1.3rem;
  border-radius: 999px;
  border: none;
  background: var(--amber-500);
  color: var(--navy-950);
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
}

.chat-footer {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--ink-100);
}

.mic-btn {
  position: relative;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--navy-950);
  color: var(--amber-500);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s ease;
}
.mic-btn .icon { width: 20px; height: 20px; z-index: 1; }
.mic-btn:hover { background: var(--navy-800); }
.mic-btn.is-listening { background: #d64545; }
.mic-pulse {
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid #d64545;
  opacity: 0;
}
.mic-btn.is-listening .mic-pulse {
  opacity: 1;
  animation: mic-pulse 1.2s infinite ease-out;
}
@keyframes mic-pulse {
  0% { transform: scale(.8); opacity: .7; }
  100% { transform: scale(1.5); opacity: 0; }
}

.mic-status { font-size: .82rem; color: var(--ink-500); }

/* ============ About ============ */
.about-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 3.5rem;
  align-items: center;
}

.about-photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
  border: 1px solid rgba(255,255,255,.1);
}

.about-values {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  font-weight: 600;
}
.about-values li { display: flex; align-items: center; gap: .6rem; }
.about-values svg { width: 18px; height: 18px; color: var(--amber-500); flex-shrink: 0; }

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.25rem;
}

.badge {
  background: rgba(245,165,36,.12);
  color: var(--amber-500);
  font-size: .8rem;
  font-weight: 700;
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(245,165,36,.4);
}

/* ============ Newsletter ============ */
.newsletter {
  background: var(--amber-500);
  padding: 3.75rem 0;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
}

.newsletter h2 { color: var(--navy-950); margin-bottom: .3rem; }
.newsletter p { color: rgba(7,18,38,.75); margin: 0; font-weight: 500; }

.newsletter-form {
  display: flex;
  gap: .75rem;
}

.newsletter-form input {
  padding: .9rem 1.2rem;
  border-radius: 999px;
  border: none;
  min-width: 270px;
  font-size: .95rem;
  font-family: var(--font-body);
}

.newsletter .btn-accent {
  background: var(--navy-950);
  color: #fff;
  box-shadow: none;
}
.newsletter .btn-accent:hover { background: var(--navy-800); }

.newsletter-message {
  grid-column: 1 / -1;
  margin: 0;
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy-950);
  min-height: 1.2em;
}

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-list li { display: flex; align-items: center; gap: .85rem; font-size: 1.02rem; font-weight: 600; }
.contact-list a { color: var(--navy-900); }
.contact-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-900);
  color: var(--amber-500);
  border-radius: 10px;
  flex-shrink: 0;
}
.contact-icon svg { width: 19px; height: 19px; }

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--ink-300);
  color: var(--ink-900);
  font-weight: 700;
  font-size: .9rem;
}
.social-btn .icon { width: 1.15em; height: 1.15em; }
.social-btn:hover { border-color: var(--navy-900); color: var(--navy-900); }
.social-btn--whatsapp { border-color: var(--whatsapp); color: var(--whatsapp-dark); }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ink-100);
}
.contact-map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
  filter: grayscale(.15);
}

/* ============ Footer ============ */
.site-footer {
  background: var(--navy-950);
  color: var(--ink-300);
  padding: 2rem 0;
}
.footer-inner { text-align: center; }
.footer-inner p { color: rgba(255,255,255,.6); margin: .2rem 0; font-size: .9rem; }
.footer-legal { font-size: .8rem; color: rgba(255,255,255,.35); }

/* ============ Floating WhatsApp ============ */
.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 60px; height: 60px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  transition: transform .18s ease, opacity .3s ease, translate .3s ease;
}

/* Hide floating buttons while the hero's own CTAs are on screen, to avoid overlap */
body.hero-in-view .whatsapp-float,
body.hero-in-view .assistant-float {
  opacity: 0;
  translate: 0 20px;
  pointer-events: none;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float .icon { width: 29px; height: 29px; }

/* ============ Floating Assistant launcher ============ */
.assistant-float {
  position: fixed;
  right: 1.5rem;
  bottom: 6.75rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem 1.2rem .7rem .7rem;
  border-radius: 999px;
  background: var(--navy-950);
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform .18s ease, box-shadow .18s ease, opacity .3s ease, translate .3s ease;
}
.assistant-float:hover { transform: scale(1.05); }

.assistant-float-icon {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--amber-500);
  color: var(--navy-950);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.assistant-float-icon .icon { width: 21px; height: 21px; }
.assistant-float-icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--amber-500);
  animation: assistant-pulse 2.2s infinite ease-out;
}
@keyframes assistant-pulse {
  0% { transform: scale(.85); opacity: .8; }
  100% { transform: scale(1.5); opacity: 0; }
}

.assistant-float-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}
.assistant-float-text strong { font-size: .88rem; font-family: var(--font-display); }
.assistant-float-text em { font-style: normal; font-size: .72rem; color: rgba(255,255,255,.6); }

@media (prefers-reduced-motion: reduce) {
  .assistant-float-icon::after { animation: none; }
}

@media (max-width: 480px) {
  .assistant-float { bottom: 6.25rem; right: 1rem; padding: .6rem 1rem .6rem .6rem; }
  .assistant-float-text strong { font-size: .8rem; }
  .assistant-float-text em { font-size: .68rem; }
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero { min-height: 78vh; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 340px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; text-align: center; }
  .newsletter-form { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 78px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--ink-100);
    transform: translateY(-150%);
    opacity: 0;
    transition: transform .2s ease, opacity .2s ease;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; }
  .nav-toggle { display: flex; }
  .header-actions .btn-whatsapp span { display: none; }
  .header-actions .btn-whatsapp { padding: .7rem .85rem; }
  .scroll-cue { display: none; }
  .sound-toggle span { display: none; }
  .sound-toggle { padding: .6rem; top: 14px; right: 1rem; }
  .hero .eyebrow { max-width: 78%; }
  .cards-grid { grid-template-columns: 1fr; }
  .card--wide { flex-direction: column; align-items: flex-start; text-align: left; }
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-form input { min-width: 0; width: 100%; }
  .section { padding: 4.5rem 0; }
  .hero-content { padding-top: 1rem; }
}
