/* Optimista Comm : styles du site.
   Organisation : 1 polices · 2 variables · 3 base · 4 en-tête et pied · 5 boutons · 6 composants (classes oc-*) · 7 formulaire · 8 accessibilité.
   Tout est limité à body.oc-site. Un composant s'active en ajoutant sa classe dans le champ « Classe CSS » d'une section, d'une ligne ou d'un module Divi. */

/* 1 Polices (auto-hébergées, alphabet latin) */
@font-face{font-family:"Fira Sans";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/fira-sans-500.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212;}
@font-face{font-family:"Fira Sans";font-style:normal;font-weight:600;font-display:swap;src:url("fonts/fira-sans-600.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212;}
@font-face{font-family:"Lato";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/lato-400.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212;}
@font-face{font-family:"Lato";font-style:normal;font-weight:700;font-display:swap;src:url("fonts/lato-700.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212;}
@font-face{font-family:"Lato";font-style:normal;font-weight:900;font-display:swap;src:url("fonts/lato-900.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212;}

/* 2 Variables : pour changer une couleur du site, modifier sa valeur ici */
:root {
	--oc-bleu: #294149;
	--oc-taupe: #9e9574;
	--oc-creme: #e8e6dc;
	--oc-or: #fabe4f;
	--oc-olive: #868f4c;
	--oc-blanc: #ffffff;
	--oc-noir: #000000;
	--oc-texte-doux: #56666b;
	--oc-filet: #d8d5c6;
	--oc-f-titre: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
	--oc-f-sous: "Fira Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--oc-f-texte: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
	--oc-rayon: 4px;
	--oc-espace-section: clamp(48px, 6.5vw, 88px);
}

/* 3 Base */
body.oc-site {
	font-family: var(--oc-f-texte);
	font-size: 18px;
	line-height: 1.65;
	color: var(--oc-bleu);
	background: var(--oc-blanc);
	-webkit-font-smoothing: antialiased;
}
body.oc-site #page-container,
body.oc-site #main-content { background: var(--oc-blanc); }
body.oc-site h1, body.oc-site h2, body.oc-site h3, body.oc-site h4 {
	font-family: var(--oc-f-titre);
	color: var(--oc-bleu);
	line-height: 1.15;
	text-wrap: balance;
	padding-bottom: .4em;
}
body.oc-site h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 900; letter-spacing: -.01em; }
body.oc-site h2 { font-size: clamp(1.65rem, 3.6vw, 2.4rem); font-weight: 700; }
body.oc-site h3 { font-family: var(--oc-f-sous); font-size: clamp(1.2rem, 2.2vw, 1.4rem); font-weight: 600; line-height: 1.3; }
body.oc-site p, body.oc-site li { font-family: var(--oc-f-texte); font-size: 1.0625rem; line-height: 1.65; color: inherit; padding-bottom: 1em; }
body.oc-site li { padding-bottom: .4em; }
body.oc-site .et_pb_text_inner { max-width: 68ch; }
body.oc-site .oc-index .et_pb_text_inner { max-width: none; }
body.oc-site p { text-wrap: pretty; }
body.oc-site mark { background: var(--oc-or); color: var(--oc-bleu); padding: 0 .3em; border-radius: 2px; }
body.oc-site a { color: inherit; text-underline-offset: 3px; }
body.oc-site .et_pb_row { width: min(92%, 1080px); max-width: 1080px; padding: 0; }
body.oc-site .et_pb_section { padding-block: var(--oc-espace-section); }
body.oc-site .et_pb_section .et_pb_row + .et_pb_row { margin-top: clamp(24px, 3vw, 40px); }
body.oc-site .et_pb_section.oc-compact { padding-block: clamp(32px, 5vw, 56px); }

/* 4 En-tête et pied de page */
body.oc-site #main-header { background: var(--oc-blanc); box-shadow: none; border-bottom: 1px solid var(--oc-filet); }
body.oc-site #top-menu a { font-family: var(--oc-f-sous); font-weight: 500; font-size: 16px; color: var(--oc-bleu); opacity: 1; }
/* Trait doré sous la page courante : placé à distance fixe du texte (et non au bas du lien), pour qu'il ne bouge pas
   quand Divi réduit l'en-tête au défilement. */
body.oc-site #top-menu > li.current-menu-item > a,
body.oc-site #top-menu > li > a:hover { color: var(--oc-bleu); opacity: 1; box-shadow: none; background: linear-gradient(var(--oc-or), var(--oc-or)) no-repeat 0 42px / 100% 3px; }
/* Sous-menu « Prestations » : les intitulés peuvent tenir sur deux lignes, le repère est un trait vertical à gauche (et non un soulignement). */
body.oc-site #top-menu .sub-menu a { color: var(--oc-bleu); opacity: 1; background: none; box-shadow: none; }
body.oc-site #top-menu .sub-menu a:hover,
body.oc-site #top-menu .sub-menu li.current-menu-item > a { color: var(--oc-bleu); opacity: 1; background: none; box-shadow: inset 3px 0 0 var(--oc-or); }
body.oc-site #top-menu li.oc-menu-cta > a {
	background: var(--oc-or); color: var(--oc-bleu); font-weight: 600;
	padding: 10px 20px; border-radius: var(--oc-rayon); box-shadow: none;
}
/* Divi remplace le bas du bouton par 20 px au défilement : on garde les mêmes marges en haut et en bas. */
@media (min-width: 981px) {
	body.oc-site #top-menu-nav #top-menu > li.oc-menu-cta > a { padding: 10px 20px; }
}
body.oc-site #top-menu li.oc-menu-cta > a:hover { box-shadow: 0 0 0 3px rgba(250,190,79,.45); }
body.oc-site #main-footer { background: var(--oc-bleu); color: var(--oc-creme); }
body.oc-site #footer-bottom { background: #1f3137; }
body.oc-site #footer-info, body.oc-site #footer-bottom a { color: var(--oc-creme); font-family: var(--oc-f-sous); font-size: 14px; }
body.oc-site #footer-widgets .footer-widget h4,
body.oc-site #footer-widgets .footer-widget a,
body.oc-site #footer-widgets .footer-widget li { color: var(--oc-creme); }

/* 5 Boutons (module Bouton de Divi). Principal : doré. Secondaire : classe oc-btn-contour sur le module. */
body.oc-site #page-container .et_pb_button {
	font-family: var(--oc-f-sous); font-weight: 600; font-size: 1rem; line-height: 1.2;
	color: var(--oc-bleu); background: var(--oc-or);
	border: 2px solid var(--oc-or); border-radius: var(--oc-rayon); padding: .8em 1.5em;
}
body.oc-site #page-container .et_pb_button:after { display: none; }
body.oc-site #page-container .et_pb_button:hover { background: var(--oc-or); border-color: var(--oc-or); color: var(--oc-bleu); padding: .8em 1.5em; box-shadow: 0 0 0 4px rgba(250,190,79,.4); }
body.oc-site #page-container .oc-btn-contour .et_pb_button,
body.oc-site #page-container .oc-btn-contour.et_pb_button { background: transparent; color: inherit; border-color: currentColor; }
body.oc-site #page-container .oc-btn-contour .et_pb_button:hover { background: transparent; border-color: currentColor; box-shadow: 0 0 0 4px rgba(158,149,116,.35); }

/* 6 Composants */
/* Fonds de section */
body.oc-site .oc-creme { background: var(--oc-creme); color: var(--oc-bleu); }
body.oc-site .oc-bleu { background: var(--oc-bleu); color: var(--oc-creme); }
body.oc-site .oc-bleu h1, body.oc-site .oc-bleu h2, body.oc-site .oc-bleu h3, body.oc-site .oc-bleu h4 { color: var(--oc-creme); }

/* Sur-titre : petite étiquette au-dessus d'un titre */
body.oc-site .oc-sur-titre p, body.oc-site p.oc-sur-titre {
	font-family: var(--oc-f-sous); font-size: .8rem; font-weight: 600;
	letter-spacing: .14em; text-transform: uppercase; color: var(--oc-texte-doux); padding-bottom: .8em;
}
body.oc-site .oc-bleu .oc-sur-titre p, body.oc-site .oc-bleu p.oc-sur-titre { color: var(--oc-or); }

/* Chapeau : paragraphe d'introduction */
body.oc-site .oc-chapeau p { font-family: var(--oc-f-sous); font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.5; }

/* Encadré : filet doré à gauche */
body.oc-site .oc-encadre { border-left: 4px solid var(--oc-or); padding: .2em 0 .2em 1.2em; }

/* Index des prestations : liste éditoriale, un filet fin entre chaque ligne.
   Mettre la classe oc-index sur un module Texte contenant une liste à puces, chaque puce étant un lien. */
body.oc-site .oc-index ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--oc-filet); }
body.oc-site .oc-index li { margin: 0; padding: 0; border-bottom: 1px solid var(--oc-filet); }
body.oc-site .oc-index li a {
	display: grid; grid-template-columns: minmax(240px, 2fr) 3fr; align-items: baseline; gap: 1rem;
	padding: 1.1rem .2rem; text-decoration: none; font-family: var(--oc-f-sous); font-weight: 600; font-size: 1.2rem;
}
body.oc-site .oc-index li a span { font-family: var(--oc-f-texte); font-weight: 400; font-size: 1rem; color: var(--oc-texte-doux); }
body.oc-site .oc-index li a:hover { background: var(--oc-creme); }

/* Situations : phrases dites par les clients, séparées par des filets */
body.oc-site .oc-situation { border-top: 1px solid var(--oc-filet); padding-top: 1rem; }
body.oc-site .oc-situation h3 { margin-top: 0; }
body.oc-site .oc-situation p { font-family: var(--oc-f-texte); font-size: 1rem; line-height: 1.6; }

/* Étapes : numérotation automatique, à utiliser uniquement pour une vraie suite d'étapes */
body.oc-site .oc-etapes ol { list-style: none; counter-reset: etape; margin: 0; padding: 0; }
body.oc-site .oc-etapes ol li { counter-increment: etape; position: relative; padding: 0 0 1.4rem 3.4rem; }
body.oc-site .oc-etapes ol li:before {
	content: counter(etape); position: absolute; left: 0; top: -.1em;
	font-family: var(--oc-f-titre); font-weight: 900; font-size: 1.9rem; line-height: 1; color: var(--oc-bleu);
}
body.oc-site .oc-bleu .oc-etapes ol li:before { color: var(--oc-or); }

/* Grand cercle doré en fond : décor, jamais porteur d'information */
body.oc-site .oc-cercle { position: relative; overflow: hidden; }
body.oc-site .oc-cercle:before {
	content: ""; position: absolute; width: min(60vw, 520px); aspect-ratio: .72; right: -8vw; top: 50%;
	transform: translateY(-50%); border: 2px solid var(--oc-or); border-radius: 50%; opacity: .55; pointer-events: none;
}
body.oc-site .oc-cercle > * { position: relative; }

/* Zone d'intervention : communes en ligne */
body.oc-site .oc-communes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
body.oc-site .oc-communes li { padding: 0; font-family: var(--oc-f-sous); font-weight: 500; font-size: 1.1rem; }

/* Image ou capture de réalisation : cadre fin */
body.oc-site .oc-capture img { border: 1px solid var(--oc-filet); border-radius: var(--oc-rayon); display: block; }

/* FAQ : module Accordéon de Divi, sobre */
body.oc-site .et_pb_toggle { background: transparent; border: 0; border-bottom: 1px solid var(--oc-filet); border-radius: 0; margin: 0; padding: 1rem 0; }
body.oc-site .et_pb_toggle_title { font-family: var(--oc-f-sous); font-weight: 600; font-size: 1.1rem; color: var(--oc-bleu); padding-right: 2rem; }
body.oc-site .et_pb_toggle_title:before { color: var(--oc-bleu); }
body.oc-site .et_pb_toggle_content { padding-top: .6rem; }

/* 7 Formulaire (module Formulaire de contact de Divi) */
body.oc-site .et_pb_contact_form_container .et_pb_contact_field input,
body.oc-site .et_pb_contact_form_container .et_pb_contact_field textarea,
body.oc-site .et_pb_contact_form_container .et_pb_contact_field select {
	font-family: var(--oc-f-texte); font-size: 1rem; color: var(--oc-bleu);
	background: var(--oc-blanc); border: 2px solid var(--oc-taupe); border-radius: var(--oc-rayon); padding: 12px 14px;
}
body.oc-site .et_pb_contact_form_container .et_pb_contact_field input:focus,
body.oc-site .et_pb_contact_form_container .et_pb_contact_field textarea:focus { border-color: var(--oc-bleu); outline: 3px solid var(--oc-or); outline-offset: 1px; color: var(--oc-bleu); background: var(--oc-blanc); }
body.oc-site .et_pb_contact_form_container .et_pb_contact_field_options_title,
body.oc-site .et_pb_contact_form_container label { font-family: var(--oc-f-sous); font-weight: 600; font-size: .95rem; color: inherit; }
body.oc-site .et-pb-contact-message { font-family: var(--oc-f-sous); }
body.oc-site .et-pb-contact-message ul li { color: #8a1c1c; }
body.oc-site .oc-bleu .et-pb-contact-message ul li { color: #ffd2d2; }
body.oc-site .oc-bleu .et_pb_contact_form_container .et_pb_contact_field input,
body.oc-site .oc-bleu .et_pb_contact_form_container .et_pb_contact_field textarea { border-color: var(--oc-creme); }

/* Libellés visibles au-dessus des champs (Divi les masque par défaut), et champ anti-spam lisible */
body.oc-site .et_pb_contact_form_container .et_pb_contact_form_label { display: block; margin-bottom: 6px; }
body.oc-site .et_pb_contact_form_container .et_pb_contact_field input::placeholder,
body.oc-site .et_pb_contact_form_container .et_pb_contact_field textarea::placeholder { color: transparent; }
body.oc-site .et_pb_contact_form_container .et_pb_contact_field { margin-bottom: 18px; padding: 0; }
body.oc-site .et_pb_contact_form_container input.et_pb_contact_captcha { width: 4.5rem; padding: 10px; border: 2px solid var(--oc-taupe); border-radius: var(--oc-rayon); background: var(--oc-blanc); color: var(--oc-bleu); }
body.oc-site .et_pb_contact_form_container .et_pb_contact_captcha_question { font-family: var(--oc-f-sous); font-weight: 600; }

/* 8 Accessibilité */
body.oc-site a:focus-visible,
body.oc-site button:focus-visible,
body.oc-site input:focus-visible,
body.oc-site textarea:focus-visible,
body.oc-site select:focus-visible,
body.oc-site .et_pb_toggle_title:focus-visible { outline: 3px solid var(--oc-bleu); outline-offset: 3px; box-shadow: 0 0 0 6px var(--oc-or); }
body.oc-site .oc-bleu a:focus-visible, body.oc-site .oc-bleu .et_pb_toggle_title:focus-visible { outline-color: var(--oc-or); box-shadow: none; }
@media (prefers-reduced-motion: reduce) {
	body.oc-site *, body.oc-site *:before, body.oc-site *:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* Petits titres dans une colonne latérale */
body.oc-site .oc-h-petit h2 { font-family: var(--oc-f-sous); font-size: 1.3rem; font-weight: 600; padding-bottom: .3em; }

/* Menu mobile */
body.oc-site .mobile_menu_bar:before { color: var(--oc-bleu); }
body.oc-site #mobile_menu li a, body.oc-site .et_mobile_menu li a { font-family: var(--oc-f-sous); font-weight: 500; color: var(--oc-bleu); }
body.oc-site .et_mobile_menu { border-top: 3px solid var(--oc-or); }
body.oc-site .et_mobile_menu li.oc-menu-cta > a { background: var(--oc-or); font-weight: 600; }

/* Boutons côte à côte */
body.oc-site .oc-inline.et_pb_button_module_wrapper { display: inline-block; margin: 0 14px 10px 0; vertical-align: top; }

/* Formulaire : annule le décalage de gouttière de Divi */
body.oc-site .et_pb_contact_form_container .et_pb_contact_form { margin-left: 0; }

@media (max-width: 980px) {
	body.oc-site .oc-cercle:before { opacity: .3; right: -30vw; }
	body.oc-site .oc-index li a { grid-template-columns: 1fr; gap: .2rem; }
}

/* Bandeau de consentement aux cookies (hors body.oc-site pour s'afficher aussi sur les anciennes pages) */
#oc-consent {
	position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 99999;
	width: min(720px, calc(100% - 32px)); box-sizing: border-box; padding: 20px 22px;
	background: #294149; color: #e8e6dc; border-radius: 4px; box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
	font-family: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.5;
}
#oc-consent p { margin: 0 0 .6em; padding: 0; color: inherit; font-size: inherit; }
#oc-consent .oc-consent__titre { font-family: "Fira Sans", system-ui, sans-serif; font-weight: 600; font-size: 1.05rem; color: #fabe4f; }
#oc-consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
#oc-consent .oc-consent__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
#oc-consent .oc-consent__btn {
	font-family: "Fira Sans", system-ui, sans-serif; font-weight: 600; font-size: 1rem; line-height: 1.2;
	color: #294149; background: #fabe4f; border: 2px solid #fabe4f; border-radius: 4px; padding: .7em 1.6em; cursor: pointer; min-width: 8rem;
}
#oc-consent .oc-consent__btn:focus-visible, #oc-consent a:focus-visible { outline: 3px solid #e8e6dc; outline-offset: 3px; }
button.oc-link-btn { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
button.oc-link-btn:focus-visible { outline: 3px solid #fabe4f; outline-offset: 3px; }

/* ==========================================================================
   Pages v2 (classe oc-v2, ajoutée aux pages dont l'adresse finit par -v2).
   Tout ce qui suit ne s'applique qu'à elles, le reste du site garde son apparence.
   ========================================================================== */

/* Premier écran : titre à gauche, vos projets en vitrine à droite */
body.oc-v2 .oc-hero { padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 104px); }
body.oc-v2 .oc-hero h1 { font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.05; letter-spacing: -.02em; padding-bottom: .45em; }
body.oc-v2 .oc-hero .oc-chapeau p { font-size: clamp(1.15rem, 2vw, 1.4rem); }
body.oc-v2 .oc-hero .et_pb_text_inner { max-width: none; }
body.oc-v2 .oc-hero .oc-chapeau, body.oc-v2 .oc-hero .et_pb_text_inner > p { max-width: 46ch; }
body.oc-v2 .oc-preuve p { font-family: var(--oc-f-sous); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--oc-texte-doux); padding-top: .6em; }

body.oc-v2 .oc-stage { position: relative; min-height: clamp(260px, 27vw, 380px); margin-top: clamp(0px, 3vw, 40px); }
body.oc-v2 .oc-stage:before {
	content: ""; position: absolute; right: -2%; top: -12%; width: 62%; aspect-ratio: .72;
	border: 2px solid var(--oc-or); border-radius: 50%; pointer-events: none;
}
body.oc-v2 .oc-stage .et_pb_image { position: absolute; margin: 0 !important; }
body.oc-v2 .oc-stage .oc-win-1 { right: 0; top: 4%; width: 94%; z-index: 1; }
body.oc-v2 .oc-stage .oc-win-2 { left: -4%; top: 46%; width: 54%; z-index: 2; }
body.oc-v2 .oc-win .et_pb_image_wrap {
	display: block; background: #fff; border: 1px solid #cfcbbb; border-radius: 6px; overflow: hidden;
	box-shadow: 0 14px 34px rgba(41, 65, 73, .2);
}
body.oc-v2 .oc-win .et_pb_image_wrap:before { content: ""; display: block; height: 14px; background: #f2f0e8; border-bottom: 1px solid var(--oc-filet); }
body.oc-v2 .oc-win img { display: block; width: 100%; height: auto; }
@media (max-width: 980px) {
	body.oc-v2 .oc-stage { min-height: 0; margin-top: 8px; }
	body.oc-v2 .oc-stage:before { right: 0; top: -14%; width: 40%; }
	body.oc-v2 .oc-stage .et_pb_image { position: relative; }
	body.oc-v2 .oc-stage .oc-win-1 { width: 100%; top: 0; }
	body.oc-v2 .oc-stage .oc-win-2 { display: none; }
}

/* Liste des prestations en grand corps */
body.oc-v2 .oc-index ul { border-top: 2px solid var(--oc-bleu); }
body.oc-v2 .oc-index li a {
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) auto; align-items: center;
	padding: clamp(1rem, 2vw, 1.6rem) .25rem; font-family: var(--oc-f-titre); font-weight: 700;
	font-size: clamp(1.2rem, 2.3vw, 1.7rem); line-height: 1.15; transition: padding .2s ease, box-shadow .2s ease;
}
body.oc-v2 .oc-index li a span { font-family: var(--oc-f-texte); font-weight: 400; font-size: 1rem; }
body.oc-v2 .oc-index li a:after { content: "\2192"; font-family: var(--oc-f-sous); font-weight: 500; color: var(--oc-bleu); }
body.oc-v2 .oc-index li a:hover, body.oc-v2 .oc-index li a:focus-visible { background: transparent; padding-left: .9rem; box-shadow: inset 4px 0 0 var(--oc-or); }
@media (max-width: 980px) {
	body.oc-v2 .oc-index li a { grid-template-columns: 1fr auto; }
	body.oc-v2 .oc-index li a span { grid-column: 1; }
	body.oc-v2 .oc-index li a:after { grid-row: 1; grid-column: 2; }
}

/* Réalisations : une capture grand format et une présentation éditoriale par projet */
body.oc-v2 .oc-projet h3 { font-family: var(--oc-f-titre); font-weight: 900; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; padding-bottom: .35em; color: var(--oc-creme); }
body.oc-v2 .oc-projet .oc-etiquette p { font-family: var(--oc-f-sous); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--oc-or); padding-bottom: .5em; }
body.oc-v2 .oc-projet a { color: var(--oc-or); font-family: var(--oc-f-sous); font-weight: 600; }
body.oc-v2 .oc-projet .et_pb_image { margin-bottom: 0; }

/* Texte d'ouverture en grand */
body.oc-v2 .oc-grand .et_pb_text_inner > p:first-child { font-family: var(--oc-f-titre); font-weight: 700; font-size: clamp(1.45rem, 2.7vw, 2.15rem); line-height: 1.25; }

/* Boutons : léger relief au survol */
body.oc-v2 #page-container .et_pb_button:hover { transform: translateY(-1px); }
body.oc-v2 #page-container .et_pb_button { transition: transform .15s ease, box-shadow .15s ease; }

/* Apparition douce des sections (script oc.js) */
body.oc-v2 .oc-reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
body.oc-v2 .oc-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	body.oc-v2 .oc-reveal { opacity: 1; transform: none; transition: none; }
}

/* Bandeau de cookies : petit panneau en bas à gauche, il ne cache plus le premier écran */
body.oc-v2 #oc-consent { left: auto; right: 16px; bottom: 16px; transform: none; width: min(400px, calc(100% - 32px)); padding: 16px 18px; }
body.oc-v2 #oc-consent p { font-size: .92rem; line-height: 1.45; }
body.oc-v2 #oc-consent .oc-consent__actions { margin-top: 8px; }
body.oc-v2 #oc-consent .oc-consent__btn { padding: .55em 1.2em; min-width: 6.5rem; }
@media (max-width: 600px) {
	body.oc-v2 #oc-consent { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 12px 14px; }
	body.oc-v2 #oc-consent p { font-size: .85rem; }
}

/* Pied de page v2 */
body.oc-v2 #main-footer.oc-footer { background: var(--oc-bleu); color: var(--oc-creme); padding: clamp(40px, 6vw, 72px) 0 24px; font-family: var(--oc-f-texte); }
body.oc-v2 .oc-footer__inner { width: min(92%, 1080px); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 32px 48px; }
body.oc-v2 .oc-footer p, body.oc-v2 .oc-footer li { font-size: .98rem; line-height: 1.55; color: inherit; margin: 0 0 .6em; padding: 0; }
body.oc-v2 .oc-footer ul { list-style: none; margin: 0; padding: 0; }
body.oc-v2 .oc-footer a { color: inherit; text-underline-offset: 3px; }
body.oc-v2 .oc-footer .oc-footer__titre { font-family: var(--oc-f-sous); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--oc-or); }
body.oc-v2 .oc-footer .oc-footer__brand img { display: block; max-width: 190px; height: auto; margin-bottom: 14px; }
body.oc-v2 .oc-footer a.oc-footer__cta { display: inline-block; font-family: var(--oc-f-sous); font-weight: 600; color: var(--oc-bleu); background: var(--oc-or); padding: .6em 1.2em; border-radius: 4px; text-decoration: none; }
body.oc-v2 .oc-footer__bas { width: min(92%, 1080px); margin: 36px auto 0; padding-top: 18px; border-top: 1px solid rgba(232, 230, 220, .25); display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; font-size: .9rem; }
body.oc-v2 .oc-footer__bas p { margin: 0; font-size: .9rem; }
body.oc-v2 .oc-footer__legal { display: flex !important; flex-wrap: wrap; gap: 6px 20px; }
body.oc-v2 .oc-footer__legal li { margin: 0; font-size: .9rem; }
body.oc-v2 .oc-footer .oc-link-btn { color: inherit; }
@media (max-width: 760px) { body.oc-v2 .oc-footer__inner { grid-template-columns: 1fr; } }

/* ==========================================================================
   Pages intérieures v2 : lignes éditoriales, symptômes, citation
   ========================================================================== */
body.oc-v2 .et_pb_row.oc-ligne { border-top: 1px solid var(--oc-filet); padding-top: clamp(22px, 3vw, 36px); margin-top: clamp(22px, 3vw, 36px); }
body.oc-v2 .oc-ligne-titre h3 { font-family: var(--oc-f-titre); font-weight: 900; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.1; padding-bottom: 0; }
body.oc-v2 .oc-sympt-titre h3 { font-family: var(--oc-f-sous); font-weight: 600; font-size: 1.2rem; line-height: 1.3; padding-bottom: 0; }
body.oc-v2 .oc-ligne .et_pb_text_inner p:last-child { padding-bottom: 0; }
body.oc-v2 .oc-ligne a { font-family: var(--oc-f-sous); font-weight: 600; }

body.oc-v2 .oc-citation p { font-family: var(--oc-f-titre); font-weight: 900; font-size: clamp(1.6rem, 3.4vw, 2.7rem); line-height: 1.12; letter-spacing: -.01em; max-width: 20ch; border-left: 4px solid var(--oc-or); padding: .1em 0 .1em .7em; margin: 0; }
body.oc-v2 .oc-colonne-etroite .et_pb_text_inner { max-width: 62ch; }

/* Un grand visuel de page (capture encadrée) */
body.oc-v2 .oc-visuel .et_pb_image { margin-bottom: 0; }

/* Page introuvable */
body.oc-site .oc-404 { width: min(92%, 880px); margin: 0 auto; padding: clamp(48px, 8vw, 112px) 0; }
body.oc-site .oc-404 h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
body.oc-site .oc-404 p { max-width: 56ch; }
body.oc-site .oc-404 ul { list-style: none; margin: 1.2em 0 1.6em; padding: 0; border-top: 1px solid var(--oc-filet); }
body.oc-site .oc-404 li { padding: 0; margin: 0; border-bottom: 1px solid var(--oc-filet); }
body.oc-site .oc-404 li a { display: block; padding: .9rem .2rem; font-family: var(--oc-f-sous); font-weight: 600; font-size: 1.1rem; text-decoration: none; }
body.oc-site .oc-404 li a:hover { background: var(--oc-creme); }

/* Étiquette au-dessus d'un titre de projet (couleur neutre par défaut, dorée sur fond bleu) */
body.oc-v2 .oc-etiquette p { font-family: var(--oc-f-sous); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--oc-texte-doux); padding-bottom: .5em; }

/* Visuels réels (publications Instagram, newsletter) : cadre simple, sans barre de navigateur */
body.oc-v2 .oc-img .et_pb_image_wrap { display: block; border: 1px solid var(--oc-filet); border-radius: 4px; overflow: hidden; background: #fff; box-shadow: 0 8px 22px rgba(41, 65, 73, .12); }
body.oc-v2 .oc-img img { display: block; width: 100%; height: auto; }
body.oc-v2 .oc-trio { display: flex; flex-wrap: nowrap; gap: 12px; align-items: flex-start; }
body.oc-v2 .oc-trio > .et_pb_module { flex: 1 1 0; min-width: 0; margin: 0 !important; }
body.oc-v2 .oc-news .et_pb_image { max-width: 340px; }

/* ==========================================================================
   Correctifs mobile (v1.5.0)
   ========================================================================== */

/* Icônes de l'en-tête (menu et recherche) dessinées en SVG : elles s'affichent même si la police d'icônes de Divi arrive en retard. */
body.oc-site .mobile_menu_bar:before {
	content: ""; display: block; width: 32px; height: 32px; font-size: 0; line-height: 0;
	background-color: var(--oc-bleu);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M5 8h22v3H5zM5 14.5h22v3H5zM5 21h22v3H5z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M5 8h22v3H5zM5 14.5h22v3H5zM5 21h22v3H5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.oc-site #et_search_icon:before {
	content: ""; width: 17px; height: 17px; font-size: 0; line-height: 0;
	background-color: var(--oc-bleu);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10' cy='10' r='6.5' fill='none' stroke='black' stroke-width='2.6'/%3E%3Cpath d='M15 15l6.5 6.5' stroke='black' stroke-width='2.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10' cy='10' r='6.5' fill='none' stroke='black' stroke-width='2.6'/%3E%3Cpath d='M15 15l6.5 6.5' stroke='black' stroke-width='2.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Réalisations sur mobile : même ordre pour les trois projets (texte puis capture). */
@media (max-width: 980px) {
	body.oc-v2 .et_pb_row:has(> .et_pb_column:first-child :is(.oc-win, .oc-img)):has(> .et_pb_column:last-child .oc-projet) {
		display: flex; flex-direction: column-reverse;
	}
}

/* ==========================================================================
   À propos : portrait détouré dans le premier écran (v1.6.3)
   Section « oc-hero-portrait », colonne de texte « oc-portrait-texte », colonne d'image « oc-portrait ».
   ========================================================================== */
body.oc-v2 .oc-hero.oc-hero-portrait { padding-bottom: 0; overflow: hidden; }
body.oc-v2 .oc-portrait { position: relative; }
body.oc-v2 .oc-portrait:before { content: ""; position: absolute; left: 4%; top: 3%; width: 92%; aspect-ratio: .86; border: 2px solid var(--oc-or); border-radius: 50%; pointer-events: none; }
body.oc-v2 .oc-portrait .et_pb_module { position: relative; margin: 0; }
body.oc-v2 .oc-portrait .et_pb_image { margin-bottom: 0; }
body.oc-v2 .oc-portrait img { display: block; width: 100%; height: auto; }
@media (min-width: 981px) {
	body.oc-v2 .oc-hero-portrait .et_pb_row { display: flex; align-items: stretch; }
	body.oc-v2 .oc-hero-portrait .et_pb_column { margin-right: 0; margin-bottom: 0; }
	body.oc-v2 .oc-hero-portrait .oc-portrait-texte { width: 58%; align-self: center; padding-bottom: clamp(40px, 6vw, 88px); }
	/* Largeur liée à la hauteur de l'écran : le portrait (ratio 2:3) tient en entier sous l'en-tête sans défiler. */
	body.oc-v2 .oc-hero-portrait .oc-portrait { width: max(200px, min(31%, calc((100svh - 230px) * .667))); margin-left: auto; align-self: flex-end; }
}
@media (max-width: 980px) {
	body.oc-v2 .oc-hero-portrait .oc-portrait-texte { padding-bottom: 8px; }
	body.oc-v2 .oc-hero-portrait .et_pb_row .et_pb_column.oc-portrait { float: none !important; clear: both !important; width: min(64%, 290px) !important; margin: 12px auto 0 !important; }
}

/* ==========================================================================
   Mode sombre (v1.7.0) : s'applique seulement quand l'appareil est réglé en mode sombre.
   Le site déclare gérer les deux thèmes, donc le navigateur n'inverse plus les couleurs de force.
   Fonds : bleu nuit. Texte : crème. Doré et boutons inchangés. Le mode clair n'est pas touché.
   ========================================================================== */
:root { color-scheme: light dark; }

@media (prefers-color-scheme: dark) {
	:root {
		--oc-texte-doux: #b4bbb6;
		--oc-filet: rgba(232, 230, 220, .22);
		--oc-d-fond: #14222a;
		--oc-d-fond2: #1c2e36;
		--oc-d-texte: #e8e6dc;
	}

	/* Base */
	body.oc-site { color: var(--oc-d-texte); background: var(--oc-d-fond); }
	body.oc-site #page-container, body.oc-site #main-content { background: var(--oc-d-fond); }
	body.oc-site h1, body.oc-site h2, body.oc-site h3, body.oc-site h4,
	body.oc-site p, body.oc-site li, body.oc-site .et_pb_text_inner { color: var(--oc-d-texte); }
	body.oc-site .oc-creme { background: var(--oc-d-fond2); color: var(--oc-d-texte); }
	/* Sections sans classe de couleur : Divi leur met un fond blanc par défaut */
	body.oc-site .et_pb_section:not(.oc-creme):not(.oc-bleu) { background-color: var(--oc-d-fond); }

	/* En-tête : fond sombre, logo clair, menu et icônes en crème */
	body.oc-site #main-header, body.oc-site #main-header.et-fixed-header { background-color: var(--oc-d-fond) !important; border-bottom-color: var(--oc-filet); }
	body.oc-site #logo { content: url("/wp-content/uploads/2026/10/logo-footer-fond-sombre_120px-de-haut.png"); }
	body.oc-site #top-menu a, body.oc-site #top-menu .sub-menu a { color: var(--oc-d-texte); }
	body.oc-site #top-menu > li.current-menu-item > a, body.oc-site #top-menu > li > a:hover { color: var(--oc-d-texte); }
	body.oc-site #top-menu li.oc-menu-cta > a { color: #294149; }
	body.oc-site #top-menu .sub-menu { background: var(--oc-d-fond2); }
	body.oc-site #top-menu .sub-menu a:hover, body.oc-site #top-menu .sub-menu li.current-menu-item > a { color: var(--oc-d-texte); }
	body.oc-site .mobile_menu_bar:before, body.oc-site #et_search_icon:before { background-color: var(--oc-d-texte); }
	body.oc-site .et-search-field { color: var(--oc-d-texte); }
	body.oc-site .et_mobile_menu { background: var(--oc-d-fond2); }
	body.oc-site #mobile_menu li a, body.oc-site .et_mobile_menu li a { color: var(--oc-d-texte); }
	body.oc-site .et_mobile_menu li.oc-menu-cta > a, body.oc-site #mobile_menu li.oc-menu-cta > a { color: #294149; }

	/* Boutons : le principal reste doré ; le contour prend la couleur du texte (déjà « inherit ») */
	body.oc-site #page-container .et_pb_button { color: #294149; }
	body.oc-site #page-container .oc-btn-contour .et_pb_button, body.oc-site #page-container .oc-btn-contour.et_pb_button { color: var(--oc-d-texte); }

	/* Composants */
	body.oc-site .oc-index li a:hover { background: var(--oc-d-fond2); }
	body.oc-v2 .oc-index ul { border-top-color: var(--oc-d-texte); }
	body.oc-v2 .oc-index li a:after { color: var(--oc-d-texte); }
	body.oc-site .oc-etapes ol li:before { color: var(--oc-d-texte); }
	body.oc-site .oc-bleu .oc-etapes ol li:before { color: var(--oc-or); }
	body.oc-site .et_pb_toggle_title, body.oc-site .et_pb_toggle_title:before { color: var(--oc-d-texte); }
	body.oc-site .oc-404 li a:hover { background: var(--oc-d-fond2); }
	body.oc-v2 .oc-win .et_pb_image_wrap, body.oc-v2 .oc-img .et_pb_image_wrap { box-shadow: 0 14px 34px rgba(0, 0, 0, .5); }

	/* Formulaire de contact */
	body.oc-site .et_pb_contact_form_container .et_pb_contact_field input,
	body.oc-site .et_pb_contact_form_container .et_pb_contact_field textarea,
	body.oc-site .et_pb_contact_form_container .et_pb_contact_field select,
	body.oc-site .et_pb_contact_form_container input.et_pb_contact_captcha { background: var(--oc-d-fond2); color: var(--oc-d-texte); }
	body.oc-site .et_pb_contact_form_container .et_pb_contact_field input:focus,
	body.oc-site .et_pb_contact_form_container .et_pb_contact_field textarea:focus { background: var(--oc-d-fond2); color: var(--oc-d-texte); border-color: var(--oc-or); }
	body.oc-site .et-pb-contact-message ul li { color: #ffb3b3; }

	/* Accessibilité : anneau de focus doré sur fond sombre */
	body.oc-site a:focus-visible, body.oc-site button:focus-visible, body.oc-site input:focus-visible,
	body.oc-site textarea:focus-visible, body.oc-site select:focus-visible, body.oc-site .et_pb_toggle_title:focus-visible { outline-color: var(--oc-or); box-shadow: none; }

	/* Bandeau de cookies : léger contour pour le détacher du fond */
	#oc-consent { border: 1px solid rgba(232, 230, 220, .3); }
}

/* Champ piège du formulaire de contact : hors écran, invisible pour les visiteurs (voir functions.php). */
.oc-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
