/* ===========================
   VARIABLES GLOBALES
=========================== */
:root {
  --ink: #102a43;
  --ink-soft: #38536b;
  --cream: #f6f2e9;
  --paper: #fffdf8;
  --orange: #e9693e;
  --teal: #9fc9bd;
  --line: #d9d4c8;
  --display: 'Manrope', sans-serif;
  --body: 'DM Sans', sans-serif;
}

/* ===========================
   RESET / BASE
=========================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea {
  font: inherit;
}

.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;
}

.section-pad {
  padding-left: 7vw;
  padding-right: 7vw;
}

/* ===========================
   HEADER / NAVIGATION
=========================== */
.site-header {
  height: 86px;
  padding: 0 7vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 242, 233, .92);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.brand strong {
  font: 800 17px var(--display);
  display: block;
}

.brand small {
  display: block;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 9px;
  margin-top: 6px;
  color: var(--ink-soft);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--paper);
  display: grid;
  place-items: center;
  font: 800 17px var(--display);
}

.brand-mark span {
  font-size: 12px;
  margin-left: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  font-weight: 600;
}

.main-nav a:not(.nav-cta) {
  position: relative;
}

.main-nav a:not(.nav-cta):after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: .25s;
}

.main-nav a:not(.nav-cta):hover:after {
  width: 100%;
}

.nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 12px 17px;
  border-radius: 3px;
}

.nav-cta span,
.button span {
  margin-left: 13px;
}

.menu-toggle {
  display: none;
}

/* ===========================
   HERO SECTION
=========================== */
.arrow-icon {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 6px;
}

.arrow-icon svg {
  display: block;
}
.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4vw;
  align-items: center;
  overflow: hidden;
}

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--orange);
  font-weight: 700;
  margin: 0 0 24px;
}

.eyebrow-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  margin-right: 10px;
}

.hero h1,
h2 {
  font: 800 clamp(43px, 5.2vw, 76px) / 1.04 var(--display);
  letter-spacing: -.06em;
  margin: 0;
}

.hero h1 em,
h2 em {
  font-style: normal;
  color: var(--orange);
}

.hero-intro {
  font-size: 18px;
  max-width: 460px;
  color: var(--ink-soft);
  margin: 30px 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  margin: 30px 0 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  padding: 15px 20px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 13px;
  transition: transform .2s, box-shadow .2s;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px #102a4324;
}

.button-primary {
  color: #fff;
  background: var(--orange);
}

.button-dark {
  color: #fff;
  background: var(--ink);
}

.text-link {
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
}

.text-link span {
  color: var(--orange);
  margin-left: 10px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 12px;
}

.hero-note strong {
  color: var(--ink);
}

.pin {
  font-size: 23px;
  color: var(--orange);
}

/* ---- Illustration Hero (visuel maison) ---- */
.hero-visual {
  height: 525px;
  background: #f1eadf;
  position: relative;
  overflow: hidden;
}

.hero-visual-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.tool-card {
  position: absolute;
  background: var(--paper);
  padding: 17px 20px;
  box-shadow: 8px 10px 0 #102a4315;
  font-size: 12px;
  z-index: 2;
}

.tool-card-main {
  top: 58px;
  right: 35px;
  display: flex;
  gap: 13px;
  align-items: center;
}

.tool-icon {
  font-size: 26px;
  color: var(--orange);
}

.tool-card-small {
  bottom: 54px;
  left: 24px;
  display: flex;
  gap: 10px;
  align-items: center;
}



.visual-caption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  font-size: 10px;
  letter-spacing: .15em;
  color: #fff;
}

/* ===========================
   TRUST STRIP (bandeau confiance)
=========================== */
.trust-strip {
  background: var(--ink);
  color: #fff;
  min-height: 125px;
  padding: 0 7vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.trust-strip > div {
  display: flex;
  gap: 20px;
  align-items: center;
  border-right: 1px solid #ffffff2b;
  padding: 10px 8%;
  font-size: 13px;
  line-height: 1.3;
}

.trust-strip > div:last-child {
  border: 0;
}

.strip-number {
  color: var(--orange);
  font: 700 23px var(--display);
}

/* ===========================
   SECTIONS GÉNÉRIQUES
=========================== */
.section {
  padding-top: 120px;
  padding-bottom: 120px;
}

.services-section {
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 5vw;
  align-items: end;
  margin-bottom: 55px;
}

.section-heading .eyebrow {
  align-self: start;
}

.section-heading h2,
.zone-copy h2,
.about-copy h2,
.contact-intro h2 {
  font-size: clamp(38px, 4vw, 60px);
}

.section-heading > p:last-child {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
}

/* ===========================
   SERVICES (grille de cartes)
=========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 350px;
  padding: 29px 25px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: .3s;
}

.service-card:hover {
  background: #f1eadf;
  transform: translateY(-5px);
}

.service-card.featured {
  background: var(--teal);
}

.card-index {
  font-size: 11px;
  color: var(--orange);
  font-weight: 700;
}

.service-symbol {
  display: block;
  font-size: 33px;
  color: var(--ink);
  margin: 30px 0 16px;
  width: 8%;
}

.service-card h3 {
  font: 800 23px / 1.12 var(--display);
  letter-spacing: -.04em;
  margin: 0;
}

.service-card p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 17px 0 25px;
}

.service-card a {
  position: absolute;
  bottom: 22px;
  font-size: 12px;
  font-weight: 700;
}

.service-card a span {
  color: var(--orange);
  margin-left: 12px;
}

/* ---- Avertissement légal ---- */
.legal-warning {
  margin-top: 28px;
  padding: 19px 24px;
  border: 1px solid #e5b6a8;
  background: #fff7f2;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  font-size: 12px;
  color: #6e493d;
}

.legal-warning p {
  margin: 0;
}

.legal-warning strong {
  color: #a84326;
}

.warning-icon {
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  min-width: 21px;
  height: 21px;
  text-align: center;
  font-weight: 700;
}

/* ===========================
   ZONE D'INTERVENTION (carte)
=========================== */
.zone-section {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}

.zone-map {
  position: relative;
  overflow: hidden;
}

.zone-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(28deg, transparent 49%, #fff6 50%, transparent 51%),
    linear-gradient(122deg, transparent 49%, #fff6 50%, transparent 51%);
  background-size: 120px 120px;
  transform: rotate(8deg) scale(1.4);
}

.map-circle {
  position: absolute;
  width: 330px;
  height: 330px;
  left: 26%;
  top: 21%;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: #ffffff18;
}

.map-circle:after {
  content: '';
  position: absolute;
  inset: 27px;
  border: 1px dashed var(--ink);
  border-radius: 50%;
}

.map-label {
  position: absolute;
  font-size: 10px;
  letter-spacing: .15em;
  font-weight: 700;
}

.label-north {
  top: 14%;
  left: 35%;
  color: #fff;
}

.label-center {
  top: 44%;
  left: 39%;
}

.label-old {
  bottom: 22%;
  left: 28%;
}

.map-road {
  position: absolute;
  height: 3px;
  background: var(--ink);
  opacity: .7;
  transform: rotate(-22deg);
}

.road-a {
  width: 540px;
  top: 44%;
  left: -20%;
}

.road-b {
  width: 420px;
  top: 63%;
  left: 8%;
  transform: rotate(34deg);
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 51%;
  color: var(--orange);
  font-size: 39px;
  text-shadow: 0 2px 0 var(--ink);
}

.map-caption {
  position: absolute;
  bottom: 28px;
  left: 30px;
  letter-spacing: .18em;
  font-size: 10px;
}

.zone-copy {
  padding-top: 115px;
  padding-bottom: 115px;
  background: var(--teal);
}

.zone-copy > p:not(.eyebrow):not(.free-travel) {
  max-width: 420px;
  color: var(--ink-soft);
  margin: 26px 0;
}

.zone-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 35px 0;
}

.zone-list div {
  display: grid;
  grid-template-columns: 25px 1fr;
  column-gap: 10px;
  font-size: 14px;
}

.zone-list span {
  grid-row: span 2;
  color: var(--orange);
  font-size: 17px;
}

.zone-list small {
  color: var(--ink-soft);
  font-size: 11px;
}

.free-travel {
  font-weight: 700;
  font-size: 13px;
}

/* ===========================
   À PROPOS
=========================== */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  align-items: center;
  background: var(--cream);
}

.about-stamp {
  border: 1px solid var(--orange);
  width: 138px;
  height: 138px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--orange);
  font: 800 45px var(--display);
  transform: rotate(-12deg);
}

.about-stamp small {
  font: 700 9px var(--body);
  letter-spacing: .2em;
  margin-top: -48px;
}

.about-copy p {
  max-width: 460px;
  color: var(--ink-soft);
  font-size: 15px;
}

.about-quote {
  background: var(--ink);
  color: #fff;
  padding: 53px 44px;
  min-height: 240px;
}

.about-quote > span {
  font: 800 62px Georgia;
  color: var(--orange);
  line-height: .6;
}

.about-quote p {
  font: 800 22px / 1.25 var(--display);
  margin: 15px 0 28px;
}

.about-quote small {
  font-size: 9px;
  letter-spacing: .2em;
  color: #ffffffaa;
}

.dark-link {
  display: inline-block;
  margin-top: 16px;
}

/* ===========================
   CONTACT
=========================== */
.contact-section {
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
}

.contact-intro > p:not(.eyebrow) {
  max-width: 390px;
  color: var(--ink-soft);
  font-size: 15px;
}

.contact-placeholder {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 40px;
  color: var(--ink-soft);
}

.contact-placeholder > span {
  color: var(--orange);
  font-size: 25px;
}

.contact-placeholder b,
.contact-placeholder small {
  display: block;
}

.contact-placeholder b {
  font-size: 13px;
  color: var(--ink);
}

.contact-placeholder small {
  font-size: 11px;
}

.contact-form {
  background: var(--cream);
  padding: 34px;
}

.contact-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

input,
textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 14px;
  margin-top: 8px;
  color: var(--ink);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--orange);
}

textarea {
  resize: vertical;
}

.form-bottom {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

.form-bottom p {
  font-size: 10px;
  color: var(--ink-soft);
  margin: 0;
}

.form-status {
  color: var(--orange);
  font-size: 12px;
}

/* ===========================
   MENTIONS LÉGALES (accordéon)
=========================== */
.legal-section {
  background: var(--ink);
  color: #fff;
  padding-top: 28px;
  padding-bottom: 28px;
}

.legal-section details {
  border-bottom: 1px solid #ffffff2b;
  padding: 18px 0;
}

.legal-section summary {
  cursor: pointer;
  list-style: none;
  font: 700 16px var(--display);
  display: flex;
  justify-content: space-between;
}

.legal-section summary::-webkit-details-marker {
  display: none;
}

.legal-section summary span {
  color: var(--orange);
  font-size: 22px;
}

.details-content {
  color: #b8c9d5;
  font-size: 12px;
  max-width: 700px;
  padding: 15px 0 2px;
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: #0b2135;
  color: #d8e2e9;
  padding: 40px 7vw 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  align-items: start;
  position: relative;
}

.footer-brand {
  color: #fff;
}

.footer-brand p,
.site-footer > p {
  font-size: 12px;
  color: #9fb2c0;
}

.site-footer > div:not(.footer-brand) {
  display: flex;
  gap: 20px;
  font-size: 12px;
  justify-content: flex-end;
}

.copyright {
  grid-column: 1 / -1;
  color: #7890a1;
  font-size: 10px;
  border-top: 1px solid #ffffff20;
  padding-top: 20px;
}

/* ===========================
   ANIMATIONS (reveal on scroll)
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay {
  transition-delay: .14s;
}

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

/* ===========================
   RESPONSIVE — TABLETTE (<850px)
=========================== */
@media (max-width: 850px) {
  .site-header {
    height: 72px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 0;
    background: none;
  }

  .menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--ink);
  }

  .main-nav {
    position: absolute;
    top: 71px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 20px 7vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .hero-visual {
    height: 400px;
    margin-top: 20px;
  }

  .trust-strip {
    padding: 25px 7vw;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .trust-strip > div {
    border-right: 0;
    border-bottom: 1px solid #ffffff2b;
    padding: 5px 0 17px;
  }

  .trust-strip > div:last-child {
    border-bottom: 0;
    padding-bottom: 5px;
  }

  .section {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-bottom: 25px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card {
    min-height: 320px;
  }

  .zone-section {
    grid-template-columns: 1fr;
  }

  .zone-map {
    min-height: 390px;
  }

  .zone-copy {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .about-section {
    grid-template-columns: 100px 1fr;
  }

  .about-stamp {
    width: 90px;
    height: 90px;
    font-size: 30px;
  }

  .about-stamp small {
    font-size: 7px;
    margin-top: -32px;
  }

  .about-quote {
    grid-column: 1 / -1;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer > div:not(.footer-brand) {
    justify-content: flex-start;
  }

  .copyright {
    grid-column: auto;
  }
}

/* ===========================
   RESPONSIVE — MOBILE (<520px)
=========================== */
@media (max-width: 520px) {
  .section-pad {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-visual {
    height: 350px;
  }

  .line-art {
    inset: 80px 7% 0;
  }

  .window {
    left: 25px;
  }

  .tool-card-main {
    right: 14px;
    top: 30px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 285px;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .about-stamp {
    margin-bottom: 10px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-form {
    padding: 23px;
  }

  .zone-map {
    min-height: 330px;
  }
}

/* ===========================
   ACCESSIBILITÉ — Réduction de mouvement
=========================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    transition: none;
  }
}