:root {
  --bg: #FBF6EC;
  --navy: #1F2A44;
  --coral: #F0958B;
  --sage: #8FC1B0;
  --yellow: #F4A825;
  --lavender: #A78BC9;
  --text: #3A3A3A;
  --white: #FFFFFF;

  --font-title: "Emblema One", cursive, serif;
  --font-script: "Clicker Script", cursive;
  --font-subtitle: "PT Sans", Arial, sans-serif;
  --font-body: "Open Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1, h2 {
  font-family: var(--font-title);
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 .5em;
}

h3 {
  font-family: var(--font-subtitle);
  font-weight: 700;
  color: var(--navy);
  margin: .4em 0;
}

p { margin: 0 0 1em; }

a { color: var(--navy); }

.eyebrow {
  font-family: var(--font-script);
  color: var(--navy);
  font-size: 1.5rem;
  margin: 0 0 .2em;
}

.btn {
  display: inline-block;
  padding: .8em 1.6em;
  border-radius: 999px;
  font-family: var(--font-subtitle);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
}
.btn-primary:hover { background: #e57c70; }

.btn-secondary {
  background: transparent;
  border-color: var(--sage);
  color: var(--navy);
}
.btn-secondary:hover { background: var(--sage); color: var(--white); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 2px solid #eee0c8;
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: .6em 1.2em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: .5em;
  text-decoration: none;
}

.brand img { width: 44px; height: 44px; border-radius: 50%; }

.brand-name {
  font-family: var(--font-script);
  color: var(--navy);
  font-size: 1.8rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4em;
}

.main-nav a {
  text-decoration: none;
  font-family: var(--font-subtitle);
  font-weight: 700;
  color: var(--navy);
  font-size: .95rem;
}

.main-nav a.nav-cta {
  background: var(--coral);
  color: var(--white);
  padding: .5em 1.1em;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4em;
}
.menu-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; }

/* Hero */
.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3em 1.2em;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2em;
  align-items: center;
}

.hero h1 { font-size: 2.6rem; }
.lead { font-size: 1.15rem; }

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: .8em;
  margin-top: 1.4em;
}
.trust-line span {
  background: var(--white);
  border: 1px solid var(--sage);
  color: var(--navy);
  padding: .35em .9em;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
}

.hero-media img { border-radius: 50%; max-width: 380px; margin: 0 auto; }

/* Sections */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3.5em 1.2em;
}
.section.soft { background: #f4ecd8; max-width: none; }
.section.soft > * { max-width: 1180px; margin-left: auto; margin-right: auto; }

.section-heading { margin-bottom: 2em; max-width: 700px; }
.section-heading.centered { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2 { font-size: 1.9rem; }
.body-text { font-size: 1.05rem; }

.cards {
  display: grid;
  gap: 1.4em;
}
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.8em 1.5em;
  box-shadow: 0 4px 14px rgba(31,42,68,.06);
}
.card.compact { padding: 1.4em 1.2em; }
.card-icon { font-size: 2rem; }

.card.formule {
  text-align: center;
  border: 2px solid #eee0c8;
}
.card.formule.featured { border-color: var(--coral); transform: translateY(-6px); }
.formule-sub {
  font-family: var(--font-subtitle);
  font-weight: 700;
  color: var(--sage);
}

.formules-cta {
  text-align: center;
  margin-top: 2em;
}
.formules-cta p {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--navy);
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2em;
}
.steps li {
  background: var(--white);
  border-radius: 16px;
  padding: 1.6em 1.2em;
  text-align: center;
}
.step-number {
  font-family: var(--font-title);
  color: var(--coral);
  font-size: 1.8rem;
  display: block;
  margin-bottom: .3em;
}

/* Instagram card */
.instagram-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.6em;
  display: flex;
  align-items: center;
  gap: 1.4em;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 4px 14px rgba(31,42,68,.06);
}
.instagram-logo { width: 70px; height: 70px; border-radius: 50%; }
.instagram-handle { font-family: var(--font-script); font-size: 1.6rem; color: var(--navy); margin: 0 0 .4em; }

.testimonial {
  margin: 2.4em auto 0;
  max-width: 700px;
  text-align: center;
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--navy);
}

/* About */
.about {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 2.4em;
  align-items: center;
}
.about-media img { border-radius: 16px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: .8em; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: 12px;
  padding: 1em 1.4em;
}
.faq-item summary {
  font-family: var(--font-subtitle);
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}
.faq-item p { margin-top: .8em; margin-bottom: 0; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 2.4em;
}
.contact-links { display: flex; flex-direction: column; gap: .6em; margin-top: 1.4em; }
.contact-links a { text-decoration: none; font-weight: 600; }

.devis-form {
  background: var(--white);
  border-radius: 16px;
  padding: 1.8em;
  display: flex;
  flex-direction: column;
  gap: 1em;
  box-shadow: 0 4px 14px rgba(31,42,68,.06);
}
.devis-form label {
  display: flex;
  flex-direction: column;
  gap: .35em;
  font-weight: 600;
  font-size: .9rem;
  flex: 1;
}
.devis-form input, .devis-form select, .devis-form textarea {
  font-family: var(--font-body);
  padding: .6em .7em;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: .95rem;
}
.form-row { display: flex; gap: 1em; }
.form-row label { min-width: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.2em; font-weight: 600; }
.form-status.ok { color: #2f7d5b; }
.form-status.error { color: #c0392b; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--bg);
  text-align: center;
  padding: 2.8em 1.2em 1.6em;
}
.footer-logo { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto .6em; }
.footer-brand { font-family: var(--font-script); font-size: 1.8rem; margin: 0; color: var(--white); }
.footer-links, .footer-legal {
  display: flex;
  justify-content: center;
  gap: 1.4em;
  flex-wrap: wrap;
  margin: 1em 0;
}
.footer-links a, .footer-legal a { color: var(--bg); text-decoration: none; font-size: .9rem; }
.footer-copy { opacity: .7; font-size: .85rem; }

/* Responsive */
@media (max-width: 900px) {
  .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-media { order: -1; }
  .trust-line { justify-content: center; }
  .about { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .cards-3, .cards-4, .steps { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .menu-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 1em 1.2em;
    border-bottom: 2px solid #eee0c8;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a.nav-cta { margin-top: .6em; }
  .hero h1 { font-size: 2rem; }
}
