/* =========================================================
   MAINS DE LUMIÈRE — FEUILLE DE STYLE PRINCIPALE
   ========================================================= */

:root {
    --cream: #fffaf3;
    --cream-deep: #f6ecdf;
    --white: #ffffff;
    --ink: #2f3432;
    --muted: #6d746f;
    --sage: #7c9b8a;
    --sage-dark: #557364;
    --rose: #c8959d;
    --plum: #735b72;
    --gold: #d5ad61;
    --line: rgba(85, 115, 100, 0.18);
    --shadow: 0 18px 45px rgba(48, 58, 53, 0.12);
    --radius: 24px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 5%, rgba(213, 173, 97, 0.12), transparent 26rem),
        radial-gradient(circle at 90% 18%, rgba(200, 149, 157, 0.13), transparent 28rem),
        var(--cream);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

/* -------------------- En-tête et menu -------------------- */

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 250, 243, 0.94);
    backdrop-filter: blur(14px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(calc(100% - 32px), var(--max-width));
    min-height: 86px;
    margin: auto;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 245px;
    text-decoration: none;
    gap: 12px;
}

.brand-symbol {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border: 1px solid rgba(213, 173, 97, 0.45);
    border-radius: 50%;
    color: var(--gold);
    background: var(--white);
    box-shadow: 0 8px 22px rgba(213, 173, 97, 0.18);
    font-size: 1.35rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.28rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.brand-text small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
}

.main-nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 4px;
}

.main-nav a {
    display: block;
    padding: 10px 9px;
    border-radius: 999px;
    color: #46504b;
    font-size: 0.84rem;
    font-weight: 650;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
    color: var(--sage-dark);
    background: rgba(124, 155, 138, 0.14);
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 44px;
    padding: 10px;
    border: 0;
    border-radius: 12px;
    background: rgba(124, 155, 138, 0.13);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--sage-dark);
    transition: 0.2s ease;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* -------------------- Éléments généraux -------------------- */

.container {
    width: min(calc(100% - 36px), var(--max-width));
    margin-inline: auto;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--sage-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-title {
    max-width: 800px;
    margin: 0 auto 16px;
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 500;
    line-height: 1.12;
    text-align: center;
}

.section-intro {
    max-width: 760px;
    margin: 0 auto 46px;
    color: var(--muted);
    font-size: 1.06rem;
    text-align: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 750;
    text-decoration: none;
    transition: 0.2s ease;
}

.button-primary {
    color: var(--white);
    background: var(--sage-dark);
    box-shadow: 0 12px 26px rgba(85, 115, 100, 0.22);
}

.button-primary:hover {
    background: #486557;
    transform: translateY(-2px);
}

.button-secondary {
    border-color: rgba(115, 91, 114, 0.25);
    color: var(--plum);
    background: rgba(255, 255, 255, 0.66);
}

.button-secondary:hover {
    background: var(--white);
    transform: translateY(-2px);
}

/* -------------------- Page d'accueil -------------------- */

.hero {
    position: relative;
    overflow: hidden;
    min-height: 680px;
    padding: 92px 0 80px;
}

.hero::before,
.hero::after {
    position: absolute;
    border-radius: 50%;
    content: "";
    filter: blur(2px);
    pointer-events: none;
}

.hero::before {
    top: 70px;
    right: -110px;
    width: 430px;
    height: 430px;
    background: radial-gradient(circle, rgba(213, 173, 97, 0.24), rgba(213, 173, 97, 0));
}

.hero::after {
    bottom: -130px;
    left: -90px;
    width: 390px;
    height: 390px;
    background: radial-gradient(circle, rgba(124, 155, 138, 0.2), rgba(124, 155, 138, 0));
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    align-items: center;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
}

.hero h1 {
    max-width: 700px;
    margin: 0;
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 500;
    line-height: 0.98;
}

.hero h1 span {
    display: block;
    margin-top: 12px;
    color: var(--sage-dark);
    font-size: 0.72em;
}

.hero-lead {
    max-width: 650px;
    margin: 28px 0 32px;
    color: #58615c;
    font-size: 1.14rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-visual {
    position: relative;
    min-height: 500px;
}

.light-orb {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.98) 0 8%, rgba(252,231,183,0.88) 16%, rgba(213,173,97,0.28) 44%, rgba(213,173,97,0) 72%);
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 30px rgba(213, 173, 97, 0.25));
}

.visual-card {
    position: absolute;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.visual-card strong {
    display: block;
    margin-bottom: 5px;
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
}

.visual-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.visual-card.one {
    top: 24px;
    left: 0;
    width: 255px;
}

.visual-card.two {
    right: 0;
    bottom: 52px;
    width: 280px;
}

.hand-lines {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 320px;
    height: 420px;
    transform: translate(-50%, -50%);
}

.hand-lines span {
    position: absolute;
    border: 2px solid rgba(115, 91, 114, 0.34);
    border-radius: 50% 50% 45% 55%;
    transform: rotate(-12deg);
}

.hand-lines span:nth-child(1) {
    top: 66px;
    left: 102px;
    width: 130px;
    height: 270px;
}

.hand-lines span:nth-child(2) {
    top: 80px;
    left: 70px;
    width: 68px;
    height: 215px;
    border-color: rgba(124, 155, 138, 0.42);
    transform: rotate(12deg);
}

.hand-lines span:nth-child(3) {
    top: 42px;
    right: 72px;
    width: 62px;
    height: 205px;
    border-color: rgba(213, 173, 97, 0.5);
    transform: rotate(-28deg);
}

.spark {
    position: absolute;
    color: var(--gold);
    font-size: 1.4rem;
    animation: float 4s ease-in-out infinite;
}

.spark.s1 { top: 90px; right: 30px; }
.spark.s2 { bottom: 110px; left: 36px; animation-delay: 1s; }
.spark.s3 { top: 48%; right: 4px; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(12deg); }
}

.welcome-strip {
    position: relative;
    z-index: 4;
    margin-top: -42px;
}

.welcome-box {
    display: grid;
    padding: 34px 38px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow);
    grid-template-columns: auto 1fr;
    gap: 24px;
}

.welcome-icon {
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    border-radius: 50%;
    color: var(--sage-dark);
    background: rgba(124, 155, 138, 0.14);
    font-size: 1.8rem;
}

.welcome-box h2 {
    margin: 0 0 7px;
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    font-weight: 500;
}

.welcome-box p {
    margin: 0;
    color: var(--muted);
}

.services-section {
    padding: 110px 0 90px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    position: relative;
    overflow: hidden;
    min-height: 270px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 14px 34px rgba(48, 58, 53, 0.07);
    text-decoration: none;
    transition: 0.25s ease;
}

.service-card::after {
    position: absolute;
    right: -38px;
    bottom: -42px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(213, 173, 97, 0.18), transparent 70%);
    content: "";
}

.service-card:hover {
    border-color: rgba(124, 155, 138, 0.38);
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.card-number {
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
}

.service-card h3 {
    margin: 26px 0 13px;
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.25;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.96rem;
}

.card-link {
    display: inline-block;
    margin-top: 22px;
    color: var(--sage-dark);
    font-weight: 800;
}

.philosophy {
    padding: 90px 0;
    background:
        linear-gradient(115deg, rgba(85, 115, 100, 0.95), rgba(115, 91, 114, 0.92)),
        var(--sage-dark);
}

.philosophy-grid {
    display: grid;
    align-items: center;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
}

.philosophy-mark {
    display: grid;
    min-height: 360px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 42% 58% 46% 54%;
    background:
        radial-gradient(circle, rgba(255,255,255,0.16), transparent 55%),
        rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.92);
    font-size: 6rem;
}

.philosophy h2 {
    margin: 0 0 22px;
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    font-weight: 500;
    line-height: 1.1;
}

.philosophy p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.06rem;
}

.philosophy-list {
    display: grid;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.philosophy-list li {
    padding: 13px 15px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 14px;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.07);
}

.cta-section {
    padding: 100px 0;
}

.cta-box {
    position: relative;
    overflow: hidden;
    padding: 65px 38px;
    border: 1px solid rgba(213, 173, 97, 0.3);
    border-radius: 34px;
    background:
        radial-gradient(circle at 15% 30%, rgba(213, 173, 97, 0.18), transparent 22rem),
        radial-gradient(circle at 85% 70%, rgba(124, 155, 138, 0.16), transparent 24rem),
        rgba(255, 255, 255, 0.74);
    box-shadow: var(--shadow);
    text-align: center;
}

.cta-box h2 {
    margin: 0 0 14px;
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 500;
}

.cta-box p {
    max-width: 650px;
    margin: 0 auto 28px;
    color: var(--muted);
}

/* -------------------- Pages intérieures -------------------- */

.page-hero {
    padding: 86px 0 58px;
    text-align: center;
}

.page-hero h1 {
    max-width: 900px;
    margin: 0 auto;
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.05;
}

.page-hero p {
    max-width: 740px;
    margin: 22px auto 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.content-section {
    padding: 20px 0 100px;
}

.content-card {
    max-width: 900px;
    margin: auto;
    padding: 45px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow);
}

.content-card h2 {
    margin-top: 0;
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

.content-card h3 {
    margin-top: 32px;
    color: var(--sage-dark);
}

.notice {
    margin: 26px 0;
    padding: 20px 22px;
    border-left: 4px solid var(--gold);
    border-radius: 0 14px 14px 0;
    color: #5e625f;
    background: rgba(213, 173, 97, 0.11);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.contact-box {
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(124, 155, 138, 0.07);
}

.contact-box strong {
    display: block;
    margin-bottom: 6px;
    color: var(--plum);
}

/* -------------------- Pied de page -------------------- */

.site-footer {
    padding: 48px 0 22px;
    color: rgba(255,255,255,0.82);
    background: #34483e;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    width: min(calc(100% - 36px), var(--max-width));
    margin: auto;
    gap: 28px;
}

.footer-inner strong {
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
}

.footer-inner p {
    margin: 8px 0 0;
}

.footer-links {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.footer-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    width: min(calc(100% - 36px), var(--max-width));
    margin: 38px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.13);
    color: rgba(255,255,255,0.58);
    font-size: 0.86rem;
    text-align: center;
}

/* -------------------- Responsive -------------------- */

@media (max-width: 1050px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        max-height: 0;
        overflow: hidden;
        border-bottom: 1px solid transparent;
        background: rgba(255, 250, 243, 0.99);
        opacity: 0;
        transition: 0.25s ease;
    }

    .main-nav.open {
        max-height: 620px;
        padding: 10px 0 20px;
        border-color: var(--line);
        opacity: 1;
        box-shadow: 0 18px 28px rgba(48, 58, 53, 0.1);
    }

    .main-nav ul {
        display: block;
        width: min(calc(100% - 36px), var(--max-width));
        margin: auto;
    }

    .main-nav a {
        padding: 13px 16px;
        border-radius: 12px;
        font-size: 0.95rem;
        text-align: left;
    }
}

@media (max-width: 900px) {
    .hero {
        min-height: auto;
        padding-top: 70px;
    }

    .hero-grid,
    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 430px;
    }

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

    .philosophy-mark {
        min-height: 260px;
    }
}

@media (max-width: 650px) {
    .nav-container {
        min-height: 74px;
    }

    .brand {
        min-width: 0;
    }

    .brand-symbol {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .brand-text strong {
        font-size: 1.08rem;
    }

    .brand-text small {
        display: none;
    }

    .hero {
        padding: 58px 0 60px;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 14vw, 4.2rem);
    }

    .hero-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .hero-visual {
        min-height: 380px;
    }

    .light-orb {
        width: 280px;
        height: 280px;
    }

    .hand-lines {
        width: 280px;
        transform: translate(-50%, -50%) scale(0.83);
    }

    .visual-card.one {
        top: 10px;
        width: 215px;
    }

    .visual-card.two {
        right: 0;
        bottom: 18px;
        width: 225px;
    }

    .welcome-box {
        padding: 26px;
        grid-template-columns: 1fr;
    }

    .cards-grid,
    .contact-grid,
    .philosophy-list {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .content-card {
        padding: 28px 24px;
    }

    .footer-inner,
    .footer-links {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}
