/* Footer olive sur la page La restauratrice */
.about-page + .site-footer {
    background: var(--services-bg) !important;
}
/* Palette douce et layout responsive pour Atelier Pauline */

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

:root{
    --bg:#fbfbfc;
    --services-bg: #8b8f62; /* olive background for services page */
    --card:#ffffff;
    --muted:#6b6f76;
    --accent:#2b6cb0; /* bleu */
    --accent-2:#e9f5ff;
    --success:#e6ffed;
    --danger:#fff0f0;
    --radius:10px;
    --max-width:980px;
    --container-padding:clamp(1rem, 2.5vw, 2rem);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    margin:0;
    background:linear-gradient(180deg,var(--bg),#f7f8fa);
    color:#222;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    padding:0;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    min-height:100vh;
    height:100vh;
    overflow-x: hidden;
}

/* Header / Nav */
.site-header{
    background: linear-gradient(180deg,#073733 0%, #064d48 100%); /* vert canard foncé */
    color:white;
    /* make header span the full viewport width */
    width:100vw;
    position:relative;
    left:50%;
    margin-left:-50vw;
    box-sizing:border-box;
    padding:1.25rem 0;
}

/* center and constrain header content */
.site-header-inner,
.site-header .container-inner{
    max-width:var(--max-width);
    margin:0 auto;
    padding:0 var(--container-padding);
    display:flex;
    flex-direction:column;
    align-items:center;
}
.site-header .site-nav{
    display:flex;
    gap:1rem;
    align-items:center;
    justify-content:center;
    margin-top:0.6rem;
}
.site-nav a{
    color:rgba(255,255,255,0.95);
    text-decoration:none;
    font-weight:600;
    padding:0.45rem 0.6rem;
    border-radius:6px;
    transition:background .15s ease, transform .08s;
}

.site-title{
    font-family: 'Great Vibes', "Brush Script MT", "Segoe Script", cursive;
    font-size:2.4rem;
    color:#ffdfe9; /* rose pâle */
    margin:0;
    text-align:center;
    letter-spacing:0.5px;
    text-shadow:0 2px 0 rgba(0,0,0,0.12);
    line-height:1;
}

/* Main area */
.site-main{
    padding:clamp(1rem,2.5vw,2rem) 0;
    max-width:100%;
    margin:0;
    flex:1 0 auto;
    width:100%;
    position:relative;
    display: flex;
    flex-direction: column;
}

/* constrain main content to same page width */
.site-main .container-inner{
    max-width:var(--max-width);
    margin:0 auto;
    padding:0 var(--container-padding);
}

/* background image for main content only, 30% opacity */
.site-main::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/static/fond.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

/* If the main content is a full-bleed section, hide the decorative background so edges sit flush */
.full-bleed .site-main::before{
    display: none !important;
}

/* ensure main content is drawn above the background */
.site-main > *{
    position: relative;
    z-index: 1;
}

/* Page title */
.site-main h1{
    margin:0 0 1rem 0;
    font-size:1.6rem;
    letter-spacing:0.2px;
    color:#111827;
    max-width:720px;   /* same width as the form */
    margin-left:auto;
    margin-right:auto;
    text-align:left;   /* garde l'alignement du texte (change to center si besoin) */
}

/* Flash messages */
.flash{
    padding:0.8rem 1rem;
    border-radius:8px;
    margin-bottom:1rem;
    font-weight:600;
    box-shadow:0 2px 6px rgba(15,20,30,0.03);
}
.flash.success{ background:var(--success); color:#056335; border:1px solid #d7f3de; }
.flash.error{ background:var(--danger); color:#8b0d0d; border:1px solid #f5c6c6; }

/* Form layout */
form{
    display:block;
    margin:0.75rem auto;
    max-width:720px; /* largeur du formulaire */
    width:100%;
    padding:0;
}
.row{ display:flex; gap:1rem; }
@media (max-width:720px){ .row{ flex-direction:column } }

label{
    display:block;
    font-weight:700;
    margin-bottom:0.4rem;
    color:var(--muted);
    font-size:0.9rem;
}

input[type="text"],
input[type="email"],
textarea,
input[type="tel"]{
    width:100%;
    padding:0.7rem 0.85rem;
    border:1px solid #e3e6ea;
    border-radius:8px;
    background:linear-gradient(180deg,#fff,#fbfdff);
    outline:none;
    transition:box-shadow .12s, border-color .12s, transform .06s;
    font-size:0.95rem;
    color:#111;
}
input::placeholder, textarea::placeholder{ color:#b7bcc3 }

input:focus, textarea:focus{
    border-color:var(--accent);
    box-shadow:0 6px 18px rgba(43,108,176,0.08);
    transform:translateY(-1px);
}

textarea{ min-height:160px; resize:vertical; }

/* form groups spacing */
.form-group{ margin-bottom:0.9rem; }

/* Actions */
.actions{
    margin-top:1rem;
    display:flex;
    gap:0.6rem;
    align-items:center;
    justify-content:flex-start;
}
button{
    background:var(--accent);
    color:#fff;
    padding:0.65rem 1rem;
    border:0;
    border-radius:8px;
    cursor:pointer;
    font-weight:700;
    box-shadow:0 8px 18px rgba(43,108,176,0.12);
    transition:transform .08s ease, box-shadow .12s ease, opacity .12s;
}
button:hover{ transform:translateY(-2px); }
button.secondary{
    background:transparent;
    color:var(--accent);
    border:1px solid #dbe8fb;
    box-shadow:none;
}

/* small helper text */
.help{ font-size:0.85rem; color:var(--muted); margin-top:0.25rem; }
.errors{ color:#b00020; font-size:0.9rem; margin-top:0.25rem; }

/* Footer */
.site-footer{
    padding:0.5rem 0;
    text-align:center;
    font-size:0.9rem;
    color:#073733;
    background:linear-gradient(180deg, rgba(7,55,51,0.03), transparent);
    width:100vw;
    position:relative;
    left:50%;
    margin-left:-50vw;
    box-sizing:border-box;
    flex-shrink:0;
}

/* Footer: place left/right at viewport edges, center constrained */
.site-footer .footer-verse{
    position: relative;
    display:block;
    padding:0;
    box-sizing:border-box;
    height:40px;
    min-height:40px;
}

/* center content stays centered and constrained */
.site-footer .footer-center{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    max-width: var(--max-width);
    width: calc(100% - 2*var(--container-padding));
    padding: 0 var(--container-padding);
    text-align: center;
    line-height: 1;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* left / right anchored flush to viewport edges with padding */
.site-footer .footer-left,
.site-footer .footer-right{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-size:0.9rem;
    color: inherit;
}
.site-footer .footer-left{ left: 0; padding-left: var(--container-padding); text-align:left; }
.site-footer .footer-right{ right: 0; padding-right: var(--container-padding); text-align:right; }

/* small screens: stack and center everything */
@media (max-width: 720px){
    .site-footer{
        padding:0.6rem 0;
    }
    .site-footer .footer-verse{
        display:flex;
        flex-direction:column;
        gap:0.4rem;
        align-items:center;
        height:auto;
        min-height:auto;
    }
    .site-footer .footer-left,
    .site-footer .footer-center,
    .site-footer .footer-right{
        position: static;
        transform: none;
        white-space: normal;
        text-align: center;
        width:100%;
        padding:0;
    }
}

/* Utility */
.container-inner{ padding:clamp(1rem,2.5vw,2rem); }

/* Services page background and content styles */
.services-page{
    background: var(--services-bg);
    color: #ffd6d6; /* soft pink text to match design */
    min-height: 60vh;
    padding: 3rem 0;
}
.services-page h2, .services-page h3, .services-page p, .services-page li{
    color: #ffd6d6;
}
.services-page{
    /* full-bleed section that sits flush with header and footer */
    background: var(--services-bg);
    color: #ffd6d6; /* soft pink text to match design */
    width: 100vw; /* span full viewport width */
    position: relative;
    left: 50%;
    margin-left: -50vw; /* align to viewport left edge */
    /* cancel the parent .site-main vertical padding so the section touches header/footer */
    margin-top: calc(-1 * var(--container-padding) - 1px);
    margin-bottom: calc(-1 * var(--container-padding) - 1px);
    min-height: 100vh; /* fill viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* prevent page scrollbar */
}
.services-list h3{
    font-family: 'Great Vibes', cursive;
    font-size: clamp(20px, 4.5vw, 28px);
    margin-top: 1.5rem;
}
.services-list ul{ margin-left: 1.25rem; }
.services-note{ text-align:center; margin-top:2rem; font-weight:600; }

/* La restauratrice page styles (reuse services background) */
.about-page{
    background: var(--services-bg);
    color: #ffd6d6;
    width:100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    padding: 3rem 0 0 0;
    margin-top: calc(-1 * var(--container-padding) - 1px);
    margin-bottom: 0 !important;
    box-sizing: border-box;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
}
.about-inner{
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}
.about-text{
    flex: 1 1 60%;
    font-size: clamp(16px, 2.5vw, 20px);
    line-height: 1.6;
    text-align: center;
    padding-top: 1rem;
}
.about-text p{
    /* justify paragraph text for a clean block layout */
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}
.about-title{
    font-family: 'Great Vibes', cursive;
    color: #ff93b8;
    font-size: clamp(42px, 8vw, 86px);
    text-align: center;
    margin: 0 0 0.5rem 0;
}
.about-portrait{
    flex: 0 0 240px;
    align-self: flex-start;
}
.about-portrait img{
    display:block;
    width:100%;
    height:auto;
    border:8px solid #ff93b8;
    box-sizing:border-box;
}

@media (max-width: 900px){
    .about-inner{ flex-direction:column; align-items:center; }
    .about-portrait{ order:-1; }
    .about-text{ text-align:left; }
}

/* Improve link look in content */
a{ color:var(--accent); text-decoration:underline; }
a:hover{ text-decoration:none; }

/* Accessibility focus for keyboard users */
a:focus, button:focus, input:focus, textarea:focus{
    outline:3px solid rgba(43,108,176,0.12);
    outline-offset:3px;
}

/* Small screens */
@media (max-width:480px){
    body{ padding:1rem }
    .site-nav{ gap:0.5rem; }
    .site-main h1{ font-size:1.3rem }
}

/* Home page title (only for accueil) */
.home-title{
    font-family: 'Great Vibes', "Brush Script MT", cursive;
    color:#ff93b8;                      /* rose pâle (plus saturé) */
    text-align:center;                  /* centré */
    /* large, responsive cursive title similar to pasted image 2 */
    font-size: clamp(60px, 6vw, 80px);
    margin:0;                           /* controlled by .home-hero gap */
    letter-spacing:0.6px;
    line-height:1.5;
    display:block;
    /* subtle text effect for better contrast on patterned background */
    text-shadow: 0 2px 0 rgba(0,0,0,0.06);
    transform: translateZ(0);
}

/* Home hero: title + CTA centered */
.home-hero{
    /* center title and CTA using flex so both are horizontally centered even if constrained */
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:0.6rem;
    padding:0.6rem 1rem 0.2rem;
}

/* Content paragraph block under hero: justified and constrained */
.home-content{
    color:#ff6f9d;                      /* rose pâle */
    text-align:center;                  /* centré */
    /* subheading slightly smaller but still large */
    font-size: clamp(20px, 6vw, 50px);
    margin:0;                           /* controlled by .home-hero gap */
    letter-spacing:0.6px;
    line-height:3;
    display:block;
}

.home-button{
    display:flex;
    justify-content:center;
    padding-top: 1rem;
}

/* Call-to-action button */
.cta-button{
    display:inline-block;
    margin:0.8rem auto 0; /* center horizontally */
    background: linear-gradient(180deg, #ff93b900, #ff4d9100);
    color:#ff4d91;
    padding:0.6rem 1.2rem;
    border-radius:999px;
    border:2px solid #ff4d91; /* pink contour */
    font-weight:700;
    text-decoration:none;
    box-shadow:0 8px 20px rgba(255,77,145,0.14);
    transition:transform .12s ease, box-shadow .12s ease, opacity .12s;
}
.cta-button:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 26px rgba(255,77,145,0.22);
    opacity:0.98;
}
.cta-button:active{ transform:translateY(-1px); }

/* Transparent/outline variant: interior transparent, pink outline and text */
.cta-button.secondary,
.cta-button.outline{
    background: transparent;
    color: #ff4d91;
    border: 2px solid #ff4d91;
    box-shadow: none;
}
.cta-button.secondary:hover,
.cta-button.outline:hover{
    background: linear-gradient(180deg, #ff93b8, #ff4d91);
    color: #fff;
    box-shadow:0 8px 20px rgba(255,77,145,0.12);
}

/* Responsive tweaks */
@media (max-width: 520px){
    /* keep the title large but scaled for small viewports */
    .home-title{ font-size: clamp(32px, 12vw, 96px); }
    .home-content{ padding:0 0.75rem; }
    .cta-button{ width:70%; display:block; margin:0.8rem auto 0; text-align:center; }
}

/* A la une page */
.une-page{
    background: var(--services-bg);
    color: #ffd6d6;
    width:100vw;
    position: relative;
    left:50%;
    margin-left:-50vw;
    padding: 3.5rem 0 6rem 0;
}
.une-inner{ max-width:var(--max-width); margin:0 auto; padding:0 var(--container-padding); }
.une-hero{ text-align:center; margin-bottom:2.5rem; }
.une-title{ font-family:'Great Vibes', cursive; color:#ff93b8; font-size: clamp(36px, 8vw, 96px); margin:0 0 0.5rem 0; }
.une-sub{ color:#ffbbc4; font-size: clamp(18px, 3.5vw, 30px); letter-spacing:3px; }

.une-grid{ display:grid; grid-template-columns: 1fr 1fr 1fr; gap:2.5rem; align-items:center; justify-items:center; }
.une-grid img{ max-width:100%; height:auto; display:block; }
.une-main-image{ border:8px solid #ffbbc4; box-shadow:0 6px 18px rgba(0,0,0,0.06); width:360px; box-sizing:border-box; max-height:70vh; object-fit:cover; }
.une-thumb{ width:260px; border:8px solid #ffbbc4; box-sizing:border-box; max-height:55vh; object-fit:cover; }
.une-signature{ width:260px; border:8px solid #ffbbc4; box-sizing:border-box; max-height:55vh; position:relative; }

/* connector from main image to signature: a thin line with arrow head */
.une-signature::before,
.une-signature::after{ display:none !important; }

@media (max-width:980px){
    .une-grid{ grid-template-columns: 1fr; }
    .une-grid img{ max-width:90%; }
    .une-signature::before{ display:none }
}