:root {
  --ink-black: #0D0D11;
  --light-ecru: #FBF9F6;
  --ancient-gold: #D4B26F;
  --deep-sage: #3B4A3F;
}

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ink-black);
  color: var(--light-ecru);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--ancient-gold);
}

.site-header .logo {
  display: block;
  flex: 0 0 200px;
  line-height: 0;
}

.logo {
  color: var(--ancient-gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 2px;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
}

.nav-list a {
  margin-left: 2rem;
  transition: color 0.3s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--ancient-gold);
}

.hero {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 78vh;
  padding: 8rem 2rem;
  text-align: center;
}

.hero--compact {
  padding-top: 3rem;
  padding-bottom: 3rem;
  min-height: auto;
  flex: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  margin-bottom: 1.25rem;
  color: var(--ancient-gold);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  color: var(--ancient-gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1.1;
}

.hero-subtitle {
  max-width: 760px;
  margin-top: 1.5rem;
  color: var(--light-ecru);
  font-size: 1.05rem;
}

.testimonies-hero {
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
  margin-top: 2.5rem;
}

.button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--ancient-gold);
  color: var(--ink-black);
  font-weight: 500;
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--light-ecru);
  transform: translateY(-2px);
}

.text-link {
  display: inline-block;
  color: var(--ancient-gold);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.35em;
  transition: text-decoration-color 0.3s ease;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration-color: var(--ancient-gold);
}

.content-section {
  padding: 6rem 2rem;
}

.section-inner {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.content-section h2,
.final-cta h2 {
  max-width: 780px;
  color: var(--ancient-gold);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
}

.content-section .eyebrow,
.final-cta .eyebrow {
  margin-bottom: 0.75rem;
}

.recognition {
  background: var(--light-ecru);
  color: var(--ink-black);
}

.recognition h2 {
  color: var(--ink-black);
}

.recognition-list,
.offer-list {
  display: grid;
  gap: 0;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.recognition-list li,
.offer-list li {
  padding: 1.25rem 0;
  border-top: 1px solid var(--ancient-gold);
}

.recognition-list li:last-child,
.offer-list li:last-child {
  border-bottom: 1px solid var(--ancient-gold);
}

.section-note,
.method-conclusion {
  margin-top: 2rem;
  color: var(--ancient-gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  line-height: 1.35;
}

.recognition .section-note {
  color: var(--ink-black);
}

.method-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.method-card,
.testimonial-grid blockquote {
  padding: 2rem;
  border: 1px solid var(--ancient-gold);
  text-align: justify;
}

.method-card h3 {
  margin-bottom: 1rem;
  color: var(--ancient-gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 500;
}

.method-conclusion {
  max-width: 900px;
}

.guarantee-text {
  text-align: justify;
}

.offer {
  background: var(--deep-sage);
}

.offer h2 {
  max-width: 820px;
}

.offer-list {
  margin-bottom: 2rem;
}

.offer-list li {
  padding: 1.5rem 0;
}

.method-card {
  -webkit-hyphens: auto;
  hyphens: auto;
}

.method-card {
  -webkit-hyphens: auto;
  hyphens: auto;
}

.testimonial-grid blockquote {
  color: var(--light-ecru);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  line-height: 1.5;
}

.resalib-note {
  margin: 2rem 0 1rem;
}

.resalib-note a {
  color: var(--ancient-gold);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.direct-note {
  margin-top: 1rem;
}

.about {
  background: var(--light-ecru);
  color: var(--ink-black);
}

.about h2 {
  color: var(--ink-black);
}

.about-bio-text {
  text-align: justify;
}

.about-bio {
  text-align: justify;
}

.about-inner > p:not(.eyebrow) {
  max-width: 800px;
  margin: 1.5rem 0;
}

.about .text-link {
  color: var(--ink-black);
}

.about .text-link:hover,
.about .text-link:focus-visible {
  text-decoration-color: var(--ink-black);
}

.final-cta {
  padding: 7rem 2rem;
  text-align: center;
}

.final-cta .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta h2 {
  max-width: 720px;
}

#guarantee-text {
  margin-top: 1rem;
}

.final-cta p {
  margin-top: 1rem;
}

.content-section--compact {
  padding-top: 3rem;
}

.final-cta .button {
  margin-top: 2rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 2rem;
  border-top: 1px solid var(--ancient-gold);
  color: var(--light-ecru);
  font-size: 0.85rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ancient-gold);
}

.contact-section {
  background: var(--deep-sage);
}

.contact-grid {
  align-items: start;
}

.contact-guidance h2,
.contact-form h2 {
  margin-bottom: 1.5rem;
  color: var(--ancient-gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.1;
}

.contact-guidance .offer-list {
  margin-top: 0;
}

.contact-reassurance {
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid var(--ancient-gold);
}

.contact-reassurance p + p {
  margin-top: 0.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact-form .eyebrow {
  margin-bottom: 0;
}

.contact-form label {
  margin-top: 0.75rem;
  font-weight: 400;
}

.contact-form > label:not(.consent-label) > span {
  color: var(--light-ecru);
  font-size: 0.85rem;
  font-weight: 300;
}

.contact-form input:not([type="checkbox"]),
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--ancient-gold);
  border-radius: 0;
  background: var(--ink-black);
  color: var(--light-ecru);
  font: inherit;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.contact-form input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--light-ecru);
  outline-offset: 2px;
}

.contact-form textarea {
  resize: vertical;
}

.field-hint {
  color: var(--light-ecru);
  font-size: 0.85rem;
}

.contact-form .consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 300;
}

.consent-label input {
  flex: 0 0 auto;
  margin-top: 0.35rem;
  accent-color: var(--ancient-gold);
}

.consent-label a,
.email-link {
  color: var(--ancient-gold);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.asset-slot {
  overflow: hidden;
}

.asset-slot__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header .logo img {
  display: block;
  max-width: 200px;
  height: auto;
  object-fit: contain;
}

.asset-slot--landscape {
  width: min(100%, 1000px);
  aspect-ratio: 16 / 9;
  margin: 2rem auto;
}

.asset-slot--three-two {
  aspect-ratio: 3 / 2;
}

.asset-slot--portrait {
  width: min(100%, 420px);
  aspect-ratio: 1280 / 1980;
  margin: 0;
}

.asset-slot--square {
  width: min(100%, 300px);
  aspect-ratio: 1;
  margin: 2rem auto;
}

.asset-slot--signature {
  width: min(100%, 160px);
  aspect-ratio: 1;
  margin: 1.5rem auto;
}

.asset-slot--landscape .asset-slot__image,
.asset-slot--portrait .asset-slot__image,
.asset-slot--square .asset-slot__image {
  object-fit: cover;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.58fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  width: min(100%, 1200px);
  margin: 0 auto;
}

.hero-layout .hero-content {
  width: 100%;
}

.hero-content--wide {
  width: min(100%, 1080px);
}

.hero-layout .asset-slot--portrait {
  justify-self: end;
  width: min(100%, 380px);
}

.asset-slot--emblem {
  margin-top: 3rem;
}

.asset-slot--method {
  margin-bottom: 3rem;
}

.asset-slot--process {
  margin-bottom: 3rem;
}

.asset-slot--closing {
  margin-top: 2rem;
}

.asset-slot--opening {
  margin-top: 2rem;
}

.contact-form .button {
  margin-top: 1rem;
  border: 0;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

  @media (max-width: 760px) {
  .site-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
  }

  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
  }

  .nav-list a {
    display: inline-block;
    margin-left: 0;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 70vh;
    padding: 6rem 1.5rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-layout .hero-content {
    order: 1;
  }

  .hero-layout .asset-slot--portrait {
    order: 2;
    justify-self: center;
    width: min(75%, 320px);
  }

  .content-section {
    padding: 4.5rem 1.5rem;
  }

  .method-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }

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

  .method-card,
.method-card {
  -webkit-hyphens: auto;
  hyphens: auto;
}

.testimonial-grid blockquote {
    padding: 1.5rem;
    text-align: justify;
  }

  .final-cta {
    padding: 5rem 1.5rem;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .site-footer nav {
    justify-content: center;
  }

  .site-footer nav a[href*="instagram"]::before {
    margin-right: 0.3rem;
  }
}

/* Icône Instagram dans le footer */
.site-footer nav a[href*="instagram"]::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='igGrad' x1='0' y1='24' x2='24' y2='0'%3E%3Cstop offset='0' stop-color='%23FCAF45'/%3E%3Cstop offset='.5' stop-color='%23F77062'/%3E%3Cstop offset='1' stop-color='%23D62976'/%3E%3Cstop offset='1' stop-color='%23833AB4'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23igGrad)' d='M7.8 2h8.4C19.4 2 22 4.6 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8C4.6 22 2 19.4 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2m-.2 2A3.6 3.6 0 0 0 4 7.6v8.8C4 18.39 5.61 20 7.6 20h8.8a3.6 3.6 0 0 0 3.6-3.6V7.6C20 5.61 18.39 4 16.4 4Zm9.65 1.5a1.3 1.3 0 1 1 0 2.6 1.3 1.3 0 0 1 0-2.6M12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10m0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6'/%3E%3C/svg%3E");
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.4rem;
}

/* ============================================
   BOUTON WHATSAPP FLOTTANT
   ============================================ */

.whatsapp-float {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #FFFFFF;
  display: block;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  background-color: #1faf53;
}

.whatsapp-float:focus {
  outline: 2px solid #25D366;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .whatsapp-float {
    bottom: 12px;
    right: 12px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* Icône Resalib dans le footer */
.site-footer nav a[href*="resalib"]::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' rx='22' fill='%2300B4B6'/%3E%3Cpath d='M28 22C28 18.6 30.6 16 34 16h22C68.1 16 78 25.9 78 38c0 10.2-7 18.7-16.5 21.2L76.5 79.5c2 2.7 1.4 6.5-1.3 8.5-1.3 1-2.9 1.3-4.4 0.8s-2.8-1.8-3.6-3.3L50.8 62H40v17c0 3.3-2.7 6-6 6s-6-2.7-6-6V38c0-3.3 2.7-6 6-6s6 2.7 6 6v12h15c6.6 0 12-5.4 12-12S61.6 28 55 28H40v-2c0-3.3 2.7-6 6-6s6 2.7 6 6v6h2C61.6 36 67 41.4 67 48S61.6 60 55 60H46v17c0 3.3-2.7 6-6 6s-6-2.7-6-6V38c0-3.3 2.7-6 6-6s6 2.7 6 6v6h2C55 44 60.4 38.6 60 38c-11.6 0-21-9.4-21-21h21z' fill='white'/%3E%3C/svg%3E");
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.4rem;
}

  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }
}

/* ============================================
   BOUTON COPIER EMAIL
   ============================================ */

.copy-email-btn {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.5rem 1.2rem;
  background-color: var(--deep-sage);
  color: var(--ancient-gold);
  border: 1px solid var(--ancient-gold);
  border-radius: 4px;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.copy-email-btn:hover,
.copy-email-btn:focus {
  background-color: var(--ancient-gold);
  color: var(--ink-black);
}

.copy-email-btn:focus {
  outline: 2px solid var(--light-ecru);
  outline-offset: 2px;
}

.copy-email-btn.copied {
  background-color: var(--ancient-gold);
  color: var(--ink-black);
}

/* ============================================
   TEXTE JUSTIFIÉ – MENTIONS LÉGALES
   ============================================ */

.mentions-bio {
  text-align: justify;
}
