/* CURATYS - assainissement / débouchage / curage
   Palette conforme a la charte officielle CURATYS :
   #0d293d bleu marine, #ae411b terracotta (dominant), #f6a72b jaune, #0a492b vert. */

:root {
    --blue-900: #0d293d;
    --blue-800: #163a52;
    --blue-700: #1f4b68;
    --cyan-500: #ae411b;
    --cyan-400: #c45232;
    --accent-yellow: #f6a72b;
    --accent-green: #0a492b;
    --water-100: #faf1e8;
    --gray-900: #111a2b;
    --gray-700: #38465c;
    --gray-500: #6b7a90;
    --gray-200: #e4e9f0;
    --gray-100: #f4f7fb;
    --white: #ffffff;
    --shadow-sm: 0 2px 6px rgba(13, 41, 61, .06);
    --shadow-md: 0 8px 24px rgba(13, 41, 61, .10);
    --radius: 10px;
    --radius-lg: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    line-height: 1.65; color: var(--gray-900); background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-800); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--blue-900); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; }

p { margin-bottom: 1rem; color: var(--gray-700); }
ul, ol { margin: 0 0 1rem 1.25rem; color: var(--gray-700); }
li { margin-bottom: .35rem; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%);
    white-space: nowrap; border: 0;
}
.skip-link:focus {
    position: fixed; top: 1rem; left: 1rem; width: auto; height: auto;
    padding: .75rem 1.25rem; margin: 0; clip: auto; clip-path: none;
    overflow: visible; white-space: normal;
    background: var(--blue-900); color: var(--white);
    z-index: 10000; border-radius: 4px;
}

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky; top: 0; z-index: 100;
    box-shadow: var(--shadow-sm);
}
.site-header .container {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; padding-top: .85rem; padding-bottom: .85rem;
}
.site-logo { display: inline-flex; align-items: center; line-height: 0; }
.site-logo img { max-height: 60px; height: auto; width: auto; display: block; }
.site-nav ul { display: flex; gap: 1.4rem; list-style: none; flex-wrap: wrap; margin: 0; }
.site-nav a {
    color: var(--gray-700); font-weight: 500; font-size: .95rem;
    padding: .3rem 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--blue-800); text-decoration: none; border-bottom-color: var(--cyan-500); }
.site-nav a[aria-current="page"] { color: var(--blue-900); font-weight: 700; border-bottom-color: var(--cyan-500); }

.header-cta {
    background: var(--cyan-500); color: var(--white) !important;
    padding: .6rem 1.1rem; border-radius: var(--radius);
    font-weight: 600; font-size: .92rem; white-space: nowrap;
    transition: background .15s;
}
.header-cta:hover { background: var(--blue-800); text-decoration: none; }

.mobile-call {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--cyan-500); color: var(--white) !important;
    text-align: center; padding: 1rem;
    font-weight: 700; font-size: 1rem;
    z-index: 200; box-shadow: 0 -4px 12px rgba(0,0,0,.15);
}
.mobile-call:hover { text-decoration: none; background: var(--blue-800); }

.hero {
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
    color: var(--white);
    padding: 5rem 0 4rem;
    position: relative; overflow: hidden;
}
.hero::after {
    content: ""; position: absolute; right: -100px; bottom: -100px;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, var(--cyan-500) 0%, transparent 70%);
    opacity: .35;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: var(--white); max-width: 780px; }
.hero__lead { color: rgba(255,255,255,.9); font-size: 1.2rem; max-width: 640px; margin: 1rem 0 2rem; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.page-hero {
    background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
    color: var(--white); padding: 3rem 0 2.5rem;
}
.page-hero h1 { color: var(--white); }
.page-hero__lead { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-top: .75rem; max-width: 700px; }
.breadcrumb { color: rgba(255,255,255,.7); font-size: .85rem; margin-bottom: .75rem; }
.breadcrumb a { color: var(--cyan-400); }

.btn {
    display: inline-block; padding: .85rem 1.6rem;
    background: var(--cyan-500); color: var(--white);
    border-radius: var(--radius); font-weight: 600; font-size: 1rem;
    border: 2px solid var(--cyan-500); transition: all .15s;
}
.btn:hover { background: var(--blue-800); border-color: var(--blue-800); text-decoration: none; }
.btn--outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--blue-900); border-color: var(--white); }
.btn--dark { background: var(--blue-900); border-color: var(--blue-900); }
.btn--dark:hover { background: var(--blue-700); border-color: var(--blue-700); }

.site-main { min-height: 60vh; }
.section { padding: 4rem 0; }
.section--alt { background: var(--gray-100); }
.section--water { background: var(--water-100); }
.section__intro { max-width: 720px; margin-bottom: 2.5rem; }
.section__intro p { font-size: 1.1rem; }

.reassurance { background: var(--blue-900); color: var(--white); padding: 1.5rem 0; }
.reassurance ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; justify-content: space-around; gap: 1rem;
}
.reassurance li {
    color: rgba(255,255,255,.95); font-weight: 500;
    display: flex; align-items: center; gap: .5rem; margin: 0;
}
.reassurance li::before { content: "✓"; color: var(--cyan-400); font-weight: 700; font-size: 1.2rem; }

.cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem; margin-top: 2rem;
}
.card {
    background: var(--white); padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
    transition: transform .15s, box-shadow .15s;
    display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-700));
    color: var(--white); display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 1rem;
}
.card h3 { color: var(--blue-900); }
.card p { flex: 1; }
.card__link { color: var(--blue-800); font-weight: 600; margin-top: 1rem; display: inline-block; }
.card__link::after { content: " →"; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-top: 2rem; }
.step { text-align: center; }
.step__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--cyan-500); color: var(--white);
    font-weight: 700; font-size: 1.5rem; margin-bottom: 1rem;
}

.audiences { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.audience {
    padding: 2rem 1.75rem; background: var(--white);
    border-left: 4px solid var(--cyan-500);
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow-sm);
}

.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; margin-top: 2rem; }
.why__item h3 { display: flex; align-items: center; gap: .5rem; }
.why__item h3::before { content: "◆"; color: var(--cyan-500); }

.cta-band {
    background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
    color: var(--white); padding: 3.5rem 0; text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.9); margin: 1rem auto 2rem; max-width: 620px; font-size: 1.1rem; }

.faq { margin-top: 2rem; }
.faq details {
    background: var(--white); padding: 1.25rem 1.5rem;
    border: 1px solid var(--gray-200); border-radius: var(--radius);
    margin-bottom: .75rem; box-shadow: var(--shadow-sm);
}
.faq summary { cursor: pointer; font-weight: 600; color: var(--blue-900); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-size: 1.4rem; line-height: 1; color: var(--cyan-500); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: .75rem; margin-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-form {
    background: var(--white); padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 1.25rem; }
.form-row label { display: block; font-weight: 600; color: var(--blue-900); margin-bottom: .4rem; font-size: .95rem; }
.form-row input, .form-row textarea, .form-row select {
    width: 100%; padding: .75rem 1rem;
    border: 1px solid var(--gray-200); border-radius: var(--radius);
    font-family: inherit; font-size: 1rem;
    background-color: #ffffff !important; color: #0d293d !important;
    color-scheme: light;
    -webkit-text-fill-color: #0d293d !important;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--gray-500) !important; opacity: 1; -webkit-text-fill-color: var(--gray-500) !important; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
    outline: 2px solid var(--cyan-500); border-color: var(--cyan-500); background-color: #ffffff !important;
}
.form-row input:-webkit-autofill, .form-row textarea:-webkit-autofill, .form-row select:-webkit-autofill {
    -webkit-text-fill-color: #0d293d !important;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    caret-color: #0d293d !important;
}
.contact-form__success, .contact-form__error { grid-column: 1 / -1; }
.form-row textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--gray-500); }

.contact-info { padding-top: 1rem; }
.contact-info dl { margin-bottom: 1.5rem; }
.contact-info dt { font-weight: 600; color: var(--blue-900); margin-top: 1rem; }
.contact-info dd { margin-left: 0; color: var(--gray-700); }

.symptoms {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem; margin-top: 1.5rem; list-style: none; padding: 0;
}
.symptoms li {
    background: var(--water-100); padding: 1rem 1.25rem;
    border-radius: var(--radius); font-weight: 500; color: var(--blue-900);
    display: flex; align-items: center; gap: .5rem; margin: 0;
}
.symptoms li::before { content: "⚠"; color: var(--cyan-500); font-size: 1.2rem; }

.group-band { background: var(--gray-100); padding: 3rem 0; border-top: 4px solid var(--cyan-500); }
.group-band h2 { text-align: center; }
.group-brands {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem; margin-top: 2rem;
}
.group-brand {
    background: var(--white); padding: 1.5rem;
    border-radius: var(--radius); text-align: center;
    border: 1px solid var(--gray-200);
    text-decoration: none; color: inherit;
    display: block;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.group-brand:hover { border-color: var(--blue-900); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(13,41,61,.08); }
.group-brand strong { color: var(--blue-900); display: block; font-size: 1.2rem; margin-bottom: .35rem; }
.group-brand p { color: var(--gray-700); margin: 0; }

.photo-band {
    position: relative;
    overflow: hidden;
}
.photo-band img {
    width: 100%;
    height: clamp(280px, 40vw, 480px);
    object-fit: cover;
    display: block;
}
.photo-band__caption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(to top, rgba(13,41,61,.85), transparent);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
}
.hero--photo { padding: 0; background: none; }
.hero--photo::after { display: none; }
.hero--photo .hero__media {
    position: relative;
    min-height: 480px;
    background-size: cover;
    background-position: center;
}
.hero--photo .hero__media::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(13,41,61,.90) 0%, rgba(31,75,104,.78) 55%, rgba(174,65,27,.45) 100%);
}
.hero--photo .container {
    position: relative; z-index: 2;
    padding-top: 5rem; padding-bottom: 4rem;
}

.placeholder {
    display: inline-block; background: #fff3cd; color: #856404;
    padding: .1rem .5rem; border-radius: 4px;
    font-size: .85rem; font-weight: 600; border: 1px dashed #d1a017;
}

.site-footer {
    background: var(--blue-900); color: rgba(255,255,255,.85);
    padding: 3.5rem 0 0; margin-top: 4rem;
}
.site-footer h3, .site-footer h4 { color: var(--white); margin-bottom: .75rem; }
.site-footer p, .site-footer li { color: rgba(255,255,255,.75); }
.site-footer a { color: var(--cyan-400); }
.site-footer a:hover { color: var(--white); }
.site-footer .container {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col li { margin-bottom: .35rem; }
.site-footer__copy {
    border-top: 1px solid rgba(255,255,255,.15);
    margin-top: 2.5rem; padding: 1.25rem 0;
    text-align: center; font-size: .88rem;
}
.site-footer__copy p { color: rgba(255,255,255,.6); margin: 0; }

@media (max-width: 900px) {
    .site-header .container { flex-wrap: wrap; }
    .site-nav { order: 3; width: 100%; }
    .site-nav ul { gap: .8rem 1.2rem; justify-content: center; }
    .site-nav a { font-size: .9rem; }
    .header-cta { display: none; }
    .mobile-call { display: block; }
    body { padding-bottom: 60px; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero { padding: 3rem 0; }
    .section { padding: 3rem 0; }
}

/* === Tarifs : refonte === */
.tarifs-anchors { margin-top: 1.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.tarifs-anchors a {
    display: inline-block; padding: .5rem 1rem; border-radius: 999px;
    background: var(--white); color: var(--blue-700);
    border: 1px solid var(--gray-200); text-decoration: none; font-weight: 600;
    font-size: .9rem;
}
.tarifs-anchors a:hover { background: var(--cyan-500); color: var(--white); border-color: var(--cyan-500); }

.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem; margin-top: 2rem;
}
.pricing-card {
    background: var(--white); padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
}
.pricing-card h3 { margin: 0 0 .5rem; font-size: 1.2rem; color: var(--blue-700); }
.pricing-card__desc { margin: 0 0 1rem; color: var(--gray-600); font-size: .95rem; }
.pricing-card__price { margin: 0 0 1rem; padding: 1rem 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.pricing-card__hero { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; }
.pricing-card__from { color: var(--gray-500); font-size: .85rem; }
.pricing-card__hero strong { font-size: 2rem; color: var(--blue-700); font-weight: 700; }
.pricing-card__unit { color: var(--gray-500); font-size: .9rem; }
.pricing-card__supp { list-style: none; padding: 0; margin: 0 0 1rem; font-size: .9rem; color: var(--gray-600); }
.pricing-card__supp li { padding: .15rem 0; }
.pricing-card__supp strong { color: var(--blue-700); font-weight: 600; }
.pricing-card__note { margin: 0 0 1rem; color: var(--gray-500); font-size: .85rem; font-style: italic; }
.pricing-card__ttc { margin: .35rem 0 0; color: var(--gray-500); font-size: .8rem; }
.pricing-card__ttc span { font-size: .75rem; }
.pricing-card__ttc-inline { color: var(--gray-500); font-size: .78rem; font-weight: 400; margin-left: .25rem; }
.pricing-card__badges { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.25rem; }
.pricing-card__cta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.pricing-grid--dechets { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.dechets-code { display: inline-block; min-width: 2.25rem; padding: .15rem .45rem; margin-right: .4rem; background: var(--blue-700); color: var(--white); border-radius: var(--radius-sm, 6px); font-size: .8rem; font-weight: 700; letter-spacing: .05em; vertical-align: middle; }

.tarif-badge {
    display: inline-block; padding: .25rem .6rem; border-radius: 999px;
    font-size: .75rem; font-weight: 600;
}
.tarif-badge--inclus { background: #e8f5ec; color: #0a492b; }
.tarif-badge--exclus { background: #fff3e0; color: #8a4a00; }

.btn--secondary {
    background: var(--white); color: var(--blue-700);
    border: 1px solid var(--blue-700);
}
.btn--secondary:hover { background: var(--blue-700); color: var(--white); }

.example-box {
    margin-top: 2rem; padding: 1.5rem;
    background: var(--white); border-left: 4px solid var(--cyan-500);
    border-radius: var(--radius-md);
}
.example-box__label { margin: 0 0 .5rem; font-weight: 700; color: var(--cyan-500); text-transform: uppercase; font-size: .8rem; letter-spacing: .5px; }
.example-box p { margin: 0; }
.example-box__ttc { color: var(--gray-500); font-size: .85rem; }

.page-hero__taxes { margin: .75rem 0 0; color: var(--gray-600); font-size: .9rem; max-width: 780px; }

.mentions-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.mentions-list li { padding: .75rem 0; border-bottom: 1px solid var(--gray-200); color: var(--gray-600); }
.mentions-list li:last-child { border-bottom: none; }
.mentions-list strong { color: var(--blue-700); }

/* Encart prix sur pages prestations */
.tarif-encart {
    background: var(--white); border: 1px solid var(--gray-200);
    border-left: 4px solid var(--cyan-500);
    border-radius: var(--radius-md); padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}
.tarif-encart__label { margin: 0 0 .25rem; font-size: .75rem; font-weight: 700; color: var(--cyan-500); text-transform: uppercase; letter-spacing: .5px; }
.tarif-encart__prix { margin: 0 0 .5rem; }
.tarif-encart__prix strong { font-size: 1.5rem; color: var(--blue-700); }
.tarif-encart__prix span { color: var(--gray-500); margin-left: .5rem; font-size: .9rem; }
.tarif-encart__supp { margin: 0 0 .75rem; color: var(--gray-600); font-size: .9rem; }
.tarif-encart__ttc { margin: 0 0 .5rem; color: var(--gray-500); font-size: .8rem; }
.tarif-encart__badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.tarif-encart__cta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }

@media (max-width: 640px) {
    .pricing-card__hero strong { font-size: 1.75rem; }
    .pricing-card__cta .btn { flex: 1 1 auto; text-align: center; }
}
