/* ------------------------------
   Variables & base styles
   ------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600&family=Fraunces:opsz,wght@9..144,400;500;600&display=swap');

:root {
    --bg: #ffffff;
    --bg-accent: #F2EBDF;
    --surface: #ffffff;
    --surface-muted: #f7f3ec;
    --text: #050505;
    --text-muted: #6d6258;
    --dark: #050505;
    --accent: #d7a86e;
    --accent-strong: #c18f54;
    --radius-xl: 32px;
    --radius: 24px;
    --shadow: 0 25px 50px rgba(5, 5, 5, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Space Grotesk", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Fraunces", "Times New Roman", serif;
    font-weight: 500;
}

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

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

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

.section {
    padding: clamp(3rem, 8vw, 6rem) 0;
}

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: "Fraunces", "Times New Roman", serif;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1.1;
    position: relative;
}

.section-description {
    color: var(--text-muted);
    max-width: 480px;
    font-size: 1.05rem;
}

.text-highlight {
    color: var(--accent-strong);
    font-weight: 600;
}

.text-light {
    color: #f8f5f0;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.section-header.two-col {
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.95rem 1.9rem;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-dark {
    background: #050505;
    color: #fffef9;
    box-shadow: 0 10px 25px rgba(5, 5, 5, 0.15);
}

.btn-dark:hover {
    transform: translateY(-2px);
}

.btn-light {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(5, 5, 5, 0.2);
}

.btn-light:hover {
    transform: translateY(-2px);
}

/* ------------------------------
   Header
   ------------------------------ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #ffffff;
    border-bottom: 1px solid rgba(5, 5, 5, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    font-family: "Fraunces", "Times New Roman", serif;
    font-size: 1.25rem;
    letter-spacing: 0.2em;
}

.main-nav {
    display: none;
    gap: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
}

/* ------------------------------
   Hero
   ------------------------------ */
.hero {
    padding-top: clamp(6rem, 12vw, 9rem);
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-radius: var(--radius-xl);
    margin-top: 2rem;
    box-shadow: inset 0 -40px 60px rgba(5, 5, 5, 0.03), 0 30px 60px rgba(5, 5, 5, 0.05);
}

.hero-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    padding: clamp(2rem, 5vw, 4rem);
}

.hero-title {
    font-family: "Fraunces", "Times New Roman", serif;
    font-size: clamp(3.2rem, 8vw, 5.6rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
    font-weight: 500;
}

.hero-text {
    color: var(--text-muted);
    max-width: 520px;
}

.hero-subline {
    font-style: italic;
    font-weight: 400;
    display: block;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(5, 5, 5, 0.05), transparent 35%);
    pointer-events: none;
}

.hero-ornament {
    display: none;
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(5, 5, 5, 0.06);
    right: 4%;
    top: 12%;
    pointer-events: none;
}

.hero-ornament::after {
    content: "";
    position: absolute;
    inset: 40px;
    border-radius: 50%;
    border: 1px solid rgba(5, 5, 5, 0.05);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.hero-scroll {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.hero-scroll .arrow {
    font-size: 1.3rem;
    margin-top: 0.5rem;
}

.services-intro {
    background: transparent;
    border-radius: var(--radius-xl);
    padding-bottom: clamp(3rem, 6vw, 5rem);
    margin-top: 3rem;
}

.services-intro .section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.services-intro .section-description {
    text-align: right;
}

/* ------------------------------
   Cards & grids
   ------------------------------ */
.cards-grid {
    display: grid;
    gap: 1.25rem;
}

.cards-grid.service-cards {
    gap: 2rem;
}

.card {
    background: #ffffff;
    border-radius: 38px;
    padding: 2.5rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(5, 5, 5, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(5, 5, 5, 0.12);
}

.service-card h3 {
    font-family: "Fraunces", "Times New Roman", serif;
    margin-bottom: 0.6rem;
    font-size: 1.9rem;
}

.service-card p {
    color: rgba(5, 5, 5, 0.65);
    line-height: 1.6;
}

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    color: rgba(5, 5, 5, 0.35);
    font-size: 0.85rem;
}

.service-index {
    font-size: 0.78rem;
    letter-spacing: 0.3em;
    color: rgba(5, 5, 5, 0.3);
    text-transform: uppercase;
}

.service-arrow {
    color: rgba(5, 5, 5, 0.25);
    font-size: 1rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tag {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: none;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #efeeec;
    color: rgba(5, 5, 5, 0.7);
}

/* ------------------------------
   Pourquoi MIRO
   ------------------------------ */
.why-dark {
    background: #050505;
    padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
    position: relative;
}

.why-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0.4;
}

.why-dark .container {
    position: relative;
    z-index: 1;
}

.why-cards {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}

.why-card {
    border-radius: 32px;
    padding: 2.5rem;
    background: #0b0b0b;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #f7f5f1;
    transition: transform 0.25s ease, border 0.25s ease;
}

.why-card h3 {
    font-family: "Fraunces", "Times New Roman", serif;
    font-size: 1.9rem;
    margin: 0.85rem 0 0.6rem;
}

.why-card p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.why-index {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.6);
}

/* ------------------------------
   Services détaillés
   ------------------------------ */
.detail-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.detail-card {
    border-radius: 28px;
    border: 1px solid rgba(5, 5, 5, 0.08);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 35px rgba(5, 5, 5, 0.05);
    padding: 1.25rem 1.5rem;
    overflow: hidden;
}

.detail-card summary {
    list-style: none;
}

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

.detail-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 1.5rem;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-family: "Fraunces", "Times New Roman", serif;
}

.detail-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(5, 5, 5, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #050505;
    background: transparent;
    font-size: 1.2rem;
    line-height: 1;
}

.detail-card[open] .detail-icon {
    background: #050505;
    color: #fffef8;
    border-color: #050505;
}

.detail-content {
    margin-top: 1.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(5, 5, 5, 0.08);
}

.detail-columns {
    display: grid;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
}

.detail-label {
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(5, 5, 5, 0.4);
    margin-bottom: 0.5rem;
}

.detail-columns p {
    color: rgba(5, 5, 5, 0.65);
    line-height: 1.6;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-dark {
    background: #050505;
    color: #fffef8;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ------------------------------
   Results metrics
   ------------------------------ */
.metric {
    text-align: left;
}

.metric-symbol {
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

/* ------------------------------
   About
   ------------------------------ */
 .about-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.about-media {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1.1fr;
    }
}

.about-header {
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* ------------------------------
   Contact section
   ------------------------------ */
/* ------------------------------
   Contact section
   ------------------------------ */
.contact {
    background: #040404;
    color: #f3f1ec;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    margin-top: 4rem;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.07), transparent 40%);
    opacity: 0.4;
}

.contact-grid {
    display: grid;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.contact-info {
    max-width: 420px;
}

.contact-info p {
    color: rgba(243, 241, 236, 0.8);
}

.contact-info .section-title {
    color: #fffdfa;
}

.contact-badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.badge {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
}

.badge::before {
    content: attr(data-label);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.badge[data-label="24h"]::before {
    content: "24h";
}

.badge[data-label="1:1"]::before {
    content: "1:1";
}

.contact-actions {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-actions .btn-light {
    background: #fffefa;
    color: #050505;
    letter-spacing: 0.12em;
    padding: 1rem 2.5rem;
    justify-content: center;
}

/* ------------------------------
   Next step + footer
   ------------------------------ */
.next-step {
    text-align: center;
    padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 9vw, 7rem);
}

.next-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.next-inner p {
    color: var(--text-muted);
    max-width: 540px;
}

.next-inner .section-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
}

.next-inner .section-title span {
    font-style: italic;
    font-weight: 400;
}

.next-inner .btn-dark {
    border-radius: 999px;
    min-width: 260px;
    justify-content: center;
    letter-spacing: 0.2em;
}

.site-footer {
    text-align: center;
    padding: 2.5rem 1rem 4rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    border-top: 1px solid rgba(5, 5, 5, 0.08);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

/* ------------------------------
   Responsive breakpoints
   ------------------------------ */
@media (min-width: 768px) {
    .main-nav {
        display: flex;
    }

    .hero-actions {
        flex-direction: row;
        justify-content: flex-start;
    }

    .hero-actions .btn {
        width: auto;
    }

    .cards-grid.service-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .why-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-columns {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .result-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .about-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
    }

    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3rem;
    }

    .form-row {
        flex-direction: row;
    }

    .form-row label {
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .section-header.two-col {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }

    .why-cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hero-ornament {
        display: block;
    }
}

@media (max-width: 767px) {
    .services-intro .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-intro .section-description {
        text-align: left;
    }
}
