/* =========================================================
   Serenia Services — feuille de style
   Charte : vert foncé #0F4C34, doré sobre #C9A227, fond blanc cassé
   ========================================================= */

:root {
  --green: #0F4C34;
  --green-dark: #0A3527;
  --gold: #C9A227;
  --gold-light: #DDBE5E;
  --bg: #FAFAF8;
  --bg-alt: #F2F1EC;
  --text: #22261F;
  --text-light: #5B5F57;
  --white: #FFFFFF;
  --border: #E3E1D8;

  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --shadow: 0 12px 30px rgba(15, 76, 52, 0.08);

  --font-title: 'Fraunces', serif;
  --font-text: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-text);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  padding-bottom: 72px; /* espace pour la barre d'appel fixe sur mobile */
}

h1, h2, h3 {
  font-family: var(--font-title);
  color: var(--green);
  font-weight: 600;
  line-height: 1.25;
}

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

img, svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Boutons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-md);
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(201, 162, 39, 0.28);
}

.btn--primary:hover {
  background: transparent;
  color: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(201, 162, 39, 0.18);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn--nav {
  background: var(--green);
  color: var(--white);
  padding: 10px 22px;
  font-size: 0.9rem;
}

.btn--nav:hover {
  background: var(--green-dark);
}

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
}

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

.brand__name {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--green);
}

.nav__links {
  display: none;
  gap: 30px;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav__links a {
  color: var(--text);
  transition: color 0.15s ease;
}

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

.nav__toggle {
  position: relative;
  z-index: 210;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  flex-shrink: 0;
  background-color: #000000;
  border-radius: 2px;
}

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
}

/* Menu mobile déroulant */
.nav__links.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--white);
  padding: 20px 24px;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  padding: 130px 0 110px;
}

/* Texture discrète : lueurs dorées très subtiles + fines diagonales */
.hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 15%, rgba(201, 162, 39, 0.14), transparent 42%),
    radial-gradient(circle at 88% 85%, rgba(201, 162, 39, 0.10), transparent 46%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0px, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 26px);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 56px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 72px;
  }
}

.hero__content {
  max-width: 620px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 24px;
}

.hero__eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-title);
  color: var(--white);
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.1rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 26px;
}

.hero__intro {
  font-family: var(--font-text);
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 46ch;
  margin-bottom: 38px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero__badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.hero__badges svg {
  width: 16px;
  height: 16px;
  color: var(--gold-light);
  flex-shrink: 0;
}

/* ===== Visuel hero ===== */
.hero__visual {
  display: flex;
  justify-content: center;
}

/* Zone visuelle du hero : portrait de la fondatrice dans un cadre circulaire sobre */
.hero__emblem {
  position: relative;
  width: 260px;
  height: 260px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .hero__emblem { width: 300px; height: 300px; }
}

.hero__emblem-ring {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 100%;
  height: 100%;
  border: 1.5px solid rgba(201, 162, 39, 0.4);
  border-radius: 50%;
}

.hero__emblem-core {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.25);
}

.hero__emblem-photo {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 60% 30%;
}

/* ===== Sections génériques ===== */
.section {
  padding: 88px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__eyebrow {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.section__title {
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  text-align: center;
  max-width: 34ch;
  margin: 0 auto;
}

.section__lead {
  text-align: center;
  color: var(--text-light);
  margin: 14px auto 0;
}

/* ===== Qui suis-je ===== */
.about {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 800px) {
  .about {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
  }
}

.about__photo {
  display: flex;
  justify-content: center;
}

.avatar {
  width: 180px;
  height: 180px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green);
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow);
}

@media (min-width: 800px) {
  .avatar { width: 220px; height: 220px; }
}

.avatar__photo {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 45% 30%;
}

.about__text h2 {
  margin-bottom: 4px;
}

.about__subtitle {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.about__text p {
  color: var(--text-light);
  margin-bottom: 14px;
}

.about__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.badge {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
}

/* ===== Grille services ===== */
.grid {
  display: grid;
  gap: 22px;
  margin-top: 44px;
}

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

@media (min-width: 640px) {
  .grid--services { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .grid--services { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--green);
  margin-bottom: 18px;
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-light);
  font-size: 0.94rem;
}

/* ===== Nos valeurs ===== */
.values {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 44px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.values__item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.values__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--green);
  color: var(--gold-light);
}

.values__icon svg {
  width: 22px;
  height: 22px;
}

.values__item h3 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.values__item p {
  color: var(--text-light);
  font-size: 0.94rem;
}

/* ===== Comment ça marche ===== */
.steps {
  list-style: none;
  display: grid;
  gap: 28px;
  margin-top: 44px;
  counter-reset: step;
}

@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1080px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}

.steps__item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.steps__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-title);
  font-weight: 600;
}

.steps__item h3 {
  font-size: 1rem;
}

.steps__item p {
  color: var(--text-light);
  font-size: 0.92rem;
}

/* ===== Avantages financiers ===== */
.advantage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  max-width: 640px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .advantage {
    flex-direction: row;
    text-align: left;
  }
}

.advantage__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--gold);
}

.advantage__icon svg {
  width: 28px;
  height: 28px;
}

.advantage h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.advantage p {
  color: var(--text-light);
}

.advantage__note {
  font-size: 0.78rem;
  color: var(--text-light);
  opacity: 0.8;
  margin-top: 6px;
}

/* ===== Zone d'intervention ===== */
.zone {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.zone .values__icon {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--gold);
  margin-bottom: 8px;
}

.zone p {
  color: var(--text-light);
}

/* ===== FAQ / Accordéon ===== */
.accordion {
  max-width: 720px;
  margin: 44px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px 22px;
}

.accordion__item summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  color: var(--green);
  list-style: none;
  position: relative;
  padding-right: 28px;
}

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

.accordion__item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform 0.2s ease;
}

.accordion__item[open] summary::after {
  content: '\2212';
}

.accordion__item p {
  padding-bottom: 20px;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== Contact ===== */
.contact-section {
  background: var(--bg-alt);
}

.contact-grid {
  display: grid;
  gap: 32px;
  margin-top: 44px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 760px) {
  .contact-grid { grid-template-columns: 1fr 1.3fr; }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: start;
}

.contact-info__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-weight: 600;
  color: var(--green);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.contact-info__link:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.contact-info__link svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

/* Formulaire de contact */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-light);
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-text);
  font-size: 0.98rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 4px;
}

/* ===== Footer ===== */
.footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 0 28px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__name {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--white);
  font-size: 1.05rem;
}

.footer__slogan {
  font-size: 0.85rem;
  color: var(--gold-light);
}

.footer__contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  font-size: 0.9rem;
}

.footer__contacts a:hover {
  color: var(--gold-light);
}

.footer__legal,
.footer__copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__legal a:hover {
  color: var(--gold-light);
}

/* ===== Page mentions légales ===== */
.legal-header {
  border-bottom: 1px solid var(--border);
}

.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--green);
}

.legal-back svg {
  width: 18px;
  height: 18px;
}

.legal-back:hover {
  color: var(--gold);
}

.legal-main {
  padding: 64px 0 96px;
}

.legal-content {
  max-width: 720px;
}

.legal-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 1.15rem;
  margin-top: 40px;
  margin-bottom: 14px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-light);
  margin-bottom: 14px;
}

.legal-content a {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--gold);
}

/* ===== Page de remerciement (après envoi du formulaire) ===== */
.thanks {
  max-width: 520px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.thanks__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1.5px solid var(--gold);
  color: var(--green);
  margin-bottom: 24px;
}

.thanks__icon svg {
  width: 28px;
  height: 28px;
}

.thanks h1 {
  font-size: clamp(1.5rem, 3.6vw, 2rem);
  margin-bottom: 14px;
}

.thanks p {
  color: var(--text-light);
  margin-bottom: 28px;
}

/* ===== Barre fixe mobile (bouton Appeler) ===== */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--green-dark);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  z-index: 150;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
  display: flex;
}

.mobile-bar__call {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold);
  color: var(--white);
  font-weight: 600;
  padding: 13px;
  border-radius: var(--radius-md);
}

.mobile-bar__call svg {
  width: 18px;
  height: 18px;
}

@media (min-width: 900px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ===== Animations au scroll ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}
