/* =====================================================================
   ARCA DESIGNER — Design system "prestige éditorial"
   Reprise de la présentation du site Simoes, re-teintée :
   bleu #2C4675 (principal) + corail #FF885A (CTA).
   CSS autonome, sans framework.
===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --c-dark:      #2C4675;   /* bleu principal (sections sombres, titres) */
  --c-dark-2:    #233A63;   /* bleu adouci */
  --c-dark-3:    #1C2F52;   /* bleu profond */
  --c-cta:       #FF885A;   /* corail (CTA, accents) */
  --c-cta-dk:    #F06A3A;   /* corail foncé (hover) */
  --c-cta-lt:    #FFA680;
  --cta-grad:    linear-gradient(135deg,#FF9E76 0%,#FF885A 55%,#F0673A 100%);

  --c-white:     #FFFFFF;
  --c-offwhite:  #F4F6FA;   /* fond de page */
  --c-surface:   #FFFFFF;
  --c-text:      #2A333F;
  --c-heading:   #1B2740;
  --c-muted:     #667085;
  --c-muted-2:   #8A94A6;
  --c-border:    rgba(44,70,117,.14);
  --c-border-sf: rgba(44,70,117,.07);
  --cta-soft:    rgba(255,136,90,.12);

  --ff-head: 'Cormorant Garamond', Georgia, serif;
  --ff-body: 'Hanken Grotesk', system-ui, sans-serif;

  --ease:  cubic-bezier(.4,0,.2,1);
  --section-py: clamp(3.5rem, 7vw, 6.5rem);
  --content-max: 1180px;
  --radius: 14px;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--ff-body);
  color: var(--c-text);
  background: var(--c-offwhite);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--ff-head); color: var(--c-heading); line-height: 1.1; font-weight: 600; }

.container { max-width: var(--content-max); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 2.5rem); }
.eyebrow {
  font-family: var(--ff-body); font-weight: 700; font-size: .74rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--c-cta);
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content:''; width: 26px; height: 1px; background: var(--c-cta); }
.lead { font-size: 1.14rem; color: var(--c-text); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--ff-body); font-weight: 600; font-size: .95rem;
  padding: .95rem 1.7rem; border-radius: 100px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.btn--cta {
  background: var(--cta-grad); color: #fff;
  box-shadow: 0 8px 22px -8px rgba(240,103,58,.55);
}
.btn--cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(240,103,58,.6); }
.btn--outline { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn--outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--ghost { background: transparent; border-color: var(--c-border); color: var(--c-heading); }
.btn--ghost:hover { border-color: var(--c-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,246,250,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border-sf);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { font-family: var(--ff-head); font-size: 1.5rem; font-weight: 700; color: var(--c-dark); letter-spacing: .01em; }
.logo b { color: var(--c-cta); }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { font-size: .93rem; font-weight: 500; color: var(--c-heading); transition: color .2s; }
.nav a:hover { color: var(--c-cta); }
.nav-cta { margin-left: .5rem; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.burger span { display: block; width: 26px; height: 2px; background: var(--c-dark); margin: 5px 0; transition: .3s; }

/* ---------- Hero split ---------- */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 88vh; }
.hero__left {
  background: var(--c-dark); color: #fff; position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: 5rem clamp(1.5rem,5vw,4.5rem);
}
.hero__left::after { /* halo corail décoratif */
  content:''; position: absolute; width: 620px; height: 620px; border-radius: 50%;
  right: -20%; top: 55%; background: radial-gradient(circle, rgba(255,136,90,.16) 0%, transparent 65%);
}
.hero__left-inner { max-width: 40rem; position: relative; }
.hero .eyebrow { color: var(--c-cta-lt); }
.hero .eyebrow::before { background: var(--c-cta-lt); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5vw, 4.1rem); margin: 1.3rem 0; font-weight: 600; }
.hero h1 em { font-style: italic; color: var(--c-cta-lt); }
.hero__desc { color: rgba(255,255,255,.82); font-size: 1.14rem; max-width: 34rem; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero__meta { display: flex; gap: 2.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.14); }
.hero__meta .n { font-family: var(--ff-head); font-size: 2.4rem; color: var(--c-cta-lt); line-height: 1; }
.hero__meta .l { font-size: .82rem; color: rgba(255,255,255,.7); margin-top: .4rem; }
.hero__right { position: relative; overflow: hidden; background: #dfe4ec; }
.hero__right img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__right::after { content:''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--c-dark) 0%, transparent 22%); }

/* ---------- Sections génériques ---------- */
.section { padding: var(--section-py) 0; }
.section--dark { background: var(--c-dark); color: #fff; position: relative; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 46rem; margin-bottom: 3.2rem; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 1rem 0 .8rem; }
.section-head p { color: var(--c-muted); font-size: 1.08rem; }
.section--dark .section-head p { color: rgba(255,255,255,.72); }

/* ---------- Services (grille de cartes) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.svc-card {
  background: var(--c-surface); border: 1px solid var(--c-border-sf); border-radius: var(--radius);
  padding: 2.1rem 1.8rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -22px rgba(28,47,82,.32); border-color: var(--c-border); }
.svc-card__ic {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--cta-soft); color: var(--c-cta); margin-bottom: 1.2rem;
}
.svc-card__ic svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.svc-card p { color: var(--c-muted); font-size: .96rem; }

/* ---------- Méthode (étapes numérotées) ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.6rem; }
.step { position: relative; padding-top: 1rem; }
.step__n { font-family: var(--ff-head); font-size: 3rem; color: var(--c-cta-lt); line-height: 1; opacity: .9; }
.step h4 { color: #fff; font-size: 1.25rem; margin: .6rem 0 .5rem; }
.step p { color: rgba(255,255,255,.72); font-size: .93rem; }
.section--dark::after { content:''; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  left: -12%; bottom: -30%; background: radial-gradient(circle, rgba(255,136,90,.12) 0%, transparent 65%); }

/* ---------- Éditorial (texte + image) ---------- */
.ti-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.ti-grid.reverse .ti-img { order: 2; }
.ti-img img { width: 100%; height: clamp(340px,42vw,500px); object-fit: cover; border-radius: var(--radius); }
.ti-txt h2 { font-size: clamp(1.9rem,3.4vw,2.7rem); margin: 1rem 0; }
.ti-txt p { color: var(--c-muted); margin-bottom: 1rem; }
.ti-txt ul { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .8rem; }
.ti-txt li { display: flex; gap: .7rem; align-items: flex-start; color: var(--c-text); }
.ti-txt li svg { flex: none; width: 20px; height: 20px; color: var(--c-cta); margin-top: .2rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--c-border); padding: 1.2rem 0; }
.faq summary {
  cursor: pointer; list-style: none; font-family: var(--ff-head); font-size: 1.3rem;
  color: var(--c-heading); display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content:'+'; color: var(--c-cta); font-size: 1.6rem; font-family: var(--ff-body); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--c-muted); margin-top: .9rem; }

/* ---------- Bandeau CTA + contact ---------- */
.cta-banner { background: var(--c-dark); color: #fff; position: relative; overflow: hidden; }
.cta-banner .container { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem,5vw,4rem); align-items: center; padding-top: var(--section-py); padding-bottom: var(--section-py); }
.cta-banner h2 { color: #fff; font-size: clamp(2rem,3.6vw,2.8rem); margin: .8rem 0; }
.cta-banner p { color: rgba(255,255,255,.78); }
.cta-infos { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .8rem; }
.cta-infos li { display: flex; gap: .7rem; align-items: center; color: rgba(255,255,255,.9); font-size: .95rem; }
.cta-infos svg { width: 18px; height: 18px; color: var(--c-cta-lt); flex: none; }
.form-card { background: #fff; border-radius: var(--radius); padding: 2rem; }
.form-card h3 { color: var(--c-heading); font-size: 1.5rem; margin-bottom: 1.2rem; }
.form-row { margin-bottom: 1rem; }
.form-row label { display: block; font-size: .82rem; font-weight: 600; color: var(--c-heading); margin-bottom: .35rem; }
.form-row input, .form-row textarea {
  width: 100%; font-family: var(--ff-body); font-size: .95rem; color: var(--c-text);
  padding: .8rem 1rem; border: 1px solid var(--c-border); border-radius: 10px; background: var(--c-offwhite);
  transition: border-color .2s, background .2s;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--c-cta); background: #fff; }
.form-card .btn { width: 100%; margin-top: .4rem; }
.form-note { font-size: .78rem; color: var(--c-muted-2); margin-top: .8rem; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-dark-3); color: rgba(255,255,255,.72); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-grid .logo { color: #fff; }
.footer-grid p { font-size: .92rem; margin-top: .8rem; max-width: 24rem; }
.footer-col h5 { color: #fff; font-family: var(--ff-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a { display: block; font-size: .92rem; padding: .3rem 0; transition: color .2s; }
.footer-col a:hover { color: var(--c-cta-lt); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* ---------- Reveals (JS ajoute .js sur <html>) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero__right { min-height: 320px; }
  .hero__right::after { background: linear-gradient(0deg, transparent 60%, var(--c-dark)); }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); gap: 2rem; }
  .ti-grid, .cta-banner .container { grid-template-columns: 1fr; }
  .ti-grid.reverse .ti-img { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .burger { display: block; }
  .services-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .hero__meta { gap: 1.5rem; flex-wrap: wrap; }
}

/* ---------- Très grands écrans ---------- */
@media (min-width: 1600px) { :root { --content-max: 1340px; } html { font-size: 17px; } }
@media (min-width: 2200px) { :root { --content-max: 1560px; } html { font-size: 18.5px; } }
