/*
Theme Name: RJTEL-CFACFO
Theme URI: https://rjtel.fr/
Author: RJTEL-CFACFO
Author URI: https://rjtel.fr/
Description: Thème vitrine pour RJTEL-CFACFO (réseaux, sûreté, électricité, climatisation). Nécessite l’extension RJTEL Core (expertises, widgets Elementor, SEO, images). Compatible Elementor (13 widgets RJTEL, préremplissage automatique), SEO intégré, emplacements en-tête/pied de page pour Elementor Pro, modèles de page pleine largeur. Textes et images modifiables depuis l'outil de personnalisation, le type de contenu « Expertise » ou Elementor. Guide de style intégré.
Version: 3.0.2
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Copyright: (C) 2026 RJTEL-CFACFO. Distribué sous licence GPL v2 ou ultérieure.
Text Domain: rjtel-cfacfo
Tags: one-column, custom-logo, custom-menu, editor-style, full-width-template, translation-ready, block-styles
*/

/* ==========================================================================
   INDEX DES CLASSES
   Toutes ces classes peuvent être utilisées dans Elementor
   (onglet Avancé > Classes CSS) ou dans l'éditeur de blocs
   (Bloc > Avancé > Classe(s) CSS additionnelle(s)).

   01. Variables ............ --navy --ink --blue --red --pink --muted --line --soft --wrap
   02. Base ................. .wrap .wrap-narrow .screen-reader-text .skip-link
   03. Typographie .......... .eyebrow .display-1 .display-2 .display-3 .lead .text-muted
                               .text-red .text-blue .text-navy .text-white .accent
   04. Boutons .............. .btn .btn.alt .btn-light .btn-small .buttons .more .back
   05. En-tête .............. .site-header .head .custom-logo .text-logo .nav .nav-toggle
                               .sub-menu .menu-item-has-children
                               (menu : classe « contact » sur un élément = bouton)
   06. Photos ............... .photograph .photograph.no-caption .ratio-wide .ratio-square
                               .ratio-portrait .home-cover .card-photo .detail-cover
   07. Hero ................. .hero .hero-grid .hero-copy .hero-photo
   08. Bandeau .............. .band
   09. Sections ............. .section .section-sm .section-head .bg-soft .bg-navy .dark
                               .bg-white .border-top .border-bottom
   10. Cartes ............... .cards .cards-2 .cards-4 .card .card-body .card-num
   11. Méthode .............. .approach .steps .step
   12. Contextes ............ .references .refs
                               (logos clients : classes .ref-* de RJTEL Core 1.2)
   13. Contact .............. .contact-section .contact-card
   14. Page expertise ....... .detail .detail-top .section-nav .service-section
                               .service-section.reverse .service-copy .service-list
                               .service-contact .other-services
   15. Pages ................ .page-header .page-header-grid .content-area .entry-content
                               .post-list .pagination
   16. Encadrés ............. .box .box-red .box-blue .box-navy .boxes .detail-grid .detail-box
                               .quote .quote-dark .quote-author .quote-role
   17. Grilles utilitaires .. .grid-2 .grid-3 .grid-4 .stack .center .mt-0 .mb-0 .mt-l .mb-l
   18. WordPress ............ .alignleft .alignright .aligncenter .alignwide .alignfull
                               .wp-caption .gallery .sticky .bypostauthor
   19. Elementor ............ .rjtel-elementor .elementor-widget-rjtel-*
   20. Guide de style ....... .styleguide .sg-*
   21. Pied de page ......... .site-footer
   22. Responsive
   ========================================================================== */

/* 01. Variables ----------------------------------------------------------- */
:root {
	--navy: #1f3156;
	--ink: #182b49;
	--blue: #2877ba;
	--red: #9b1e43;
	--red-dark: #84183a;
	--pink: #ef8cab;
	--muted: #5a6a80;
	--line: #dbe3ed;
	--soft: #f5f8fc;
	--wrap: 1180px;
	--font: Arial, Helvetica, sans-serif;
	font-family: var(--font);
	color: var(--ink);
}

/* 02. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; font-family: var(--font); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
[id] { scroll-margin-top: 110px; }
.wrap { width: min(var(--wrap), calc(100% - 44px)); margin-left: auto; margin-right: auto; }
.wrap-narrow { width: min(780px, calc(100% - 44px)); margin-left: auto; margin-right: auto; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 100;
	background: var(--red); color: #fff; padding: 12px 16px; top: 8px; left: 8px;
}

/* 03. Typographie --------------------------------------------------------- */
p { color: var(--muted); line-height: 1.7; font-size: 1.07rem; }
h1, h2, h3, h4 { color: inherit; }
.eyebrow { color: var(--red); text-transform: uppercase; letter-spacing: .16em; font-size: .875rem; font-weight: 800; }
.display-1, .display-2, .display-3 { color: inherit; }
.display-1 { font-size: clamp(3.3rem, 7vw, 6.6rem); line-height: .97; letter-spacing: -.075em; margin: 22px 0; }
.display-2, .section h2, .section-title, .contact-section h2 { font-size: clamp(2.5rem, 4.5vw, 4.3rem); line-height: 1.05; letter-spacing: -.065em; margin: 15px 0; }
.display-3 { font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.12; letter-spacing: -.045em; margin: 17px 0; }
.lead { font-size: 1.2rem; }
.text-muted { color: var(--muted); }
.text-red, .accent { color: var(--red); }
.text-blue { color: var(--blue); }
.text-navy { color: var(--navy); }
.text-white, .text-white p { color: #fff; }
.display-1 span, .hero h1 span, h1 .accent, h2 .accent { color: var(--red); }

/* 04. Boutons ------------------------------------------------------------- */
.btn { display: inline-block; background: var(--red); color: #fff; padding: 14px 18px; font-weight: 800; border: 1px solid var(--red); transition: background .2s, color .2s; cursor: pointer; font-family: inherit; font-size: 1rem; }
.btn:hover, .btn:focus { background: var(--red-dark); color: #fff; }
.btn.alt { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.alt:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--soft); color: var(--navy); }
.btn-small { padding: 10px 14px; font-size: .9rem; }
.buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.more, .back { font-weight: 800; color: var(--red); }
.back { font-size: .95rem; }

/* 05. En-tête ------------------------------------------------------------- */
.site-header { position: sticky; top: 0; background: #fff; z-index: 40; border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.head { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.custom-logo-link { display: block; }
.custom-logo, .site-logo img { width: 125px; height: 70px; object-fit: contain; display: block; }
.text-logo { font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; color: var(--navy); }
.text-logo span { color: var(--red); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.nav a { font-size: .9rem; font-weight: 700; }
.nav a:hover, .nav .current-menu-item > a { color: var(--red); }
.nav .contact > a { background: var(--red); color: #fff; padding: 14px 18px; font-weight: 800; }
.nav .contact > a:hover { color: #fff; background: var(--red-dark); }
.nav-toggle { display: none; background: none; border: 1px solid var(--navy); color: var(--navy); font: inherit; font-weight: 800; padding: 10px 14px; cursor: pointer; }
/* Liens vers une ancre de l'accueil (#expertises…) : WordPress les marque tous « en cours » sur l'accueil. */
.nav li:not(.contact).current-menu-item > a[href*="#"]:not(:hover) { color: inherit; }
.nav .current-menu-ancestor > a { color: var(--red); }

/* Sous-menus (Apparence > Menus : décaler un élément sous son parent) */
.nav li { position: relative; }
.nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.nav li:hover > a::after, .nav li:focus-within > a::after { transform: translateY(1px) rotate(-135deg); }
.nav .sub-menu { position: absolute; top: calc(100% + 16px); left: -20px; z-index: 50; display: block; min-width: 250px; margin: 0; padding: 10px 0; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); box-shadow: 0 14px 30px rgba(24, 43, 73, .12); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; } /* garde le menu ouvert entre le lien et la liste */
.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav .sub-menu a { display: block; padding: 10px 20px; font-size: .88rem; font-weight: 700; color: var(--ink); border-left: 3px solid transparent; }
.nav .sub-menu a:hover, .nav .sub-menu .current-menu-item > a { color: var(--red); background: var(--soft); border-left-color: var(--red); }
.nav > ul > li:nth-last-child(-n+2) > .sub-menu { left: auto; right: -20px; } /* derniers éléments : ouverture vers la gauche */
.nav .sub-menu .sub-menu { top: -13px; left: 100%; }
.nav .sub-menu .sub-menu::before { top: 0; left: -20px; right: auto; width: 20px; height: 100%; }
@media (prefers-reduced-motion: reduce) {
	.nav .sub-menu, .nav .menu-item-has-children > a::after { transition: none; }
}

/* 06. Photos -------------------------------------------------------------- */
.photograph { position: relative; margin: 0; overflow: hidden; background: #e7ecf2; min-width: 0; }
.photograph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photograph figcaption { position: absolute; right: 5px; bottom: 4px; font-size: 9px; line-height: 1.2; color: #fff; background: #17283b9c; padding: 2px 4px; letter-spacing: 0; font-weight: 400; }
.photograph.no-caption figcaption { display: none; }
.ratio-wide { aspect-ratio: 16 / 9; }
.ratio-square { aspect-ratio: 1; }
.ratio-portrait { aspect-ratio: 3 / 4; }
.home-cover { height: 100%; min-height: 560px; }
.card-photo { height: 220px; }
.detail-cover { height: 440px; }

/* 07. Hero ---------------------------------------------------------------- */
.hero { background: var(--soft); }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; min-height: 560px; }
.hero-grid.no-photo { grid-template-columns: 1fr; }
.hero-copy { padding: 76px 45px 76px 0; align-self: center; }
.hero h1 { font-size: clamp(3.3rem, 7vw, 6.6rem); line-height: .97; letter-spacing: -.075em; margin: 22px 0; }
.hero-photo { min-height: 560px; }

/* 08. Bandeau ------------------------------------------------------------- */
.band { border-bottom: 1px solid var(--line); padding: 20px 0; }
.band .wrap { display: flex; gap: 30px; flex-wrap: wrap; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 800; color: #53657e; }
.band span::before { content: '•'; color: var(--red); margin-right: 10px; }

/* 09. Sections ------------------------------------------------------------ */
.section, .detail, .contact-section, .content-area { padding: 88px 0; }
.section-sm { padding: 50px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; margin-bottom: 40px; }
.bg-soft, .references { background: var(--soft); }
.bg-white { background: #fff; }
.bg-navy, .dark { background: var(--navy); color: #fff; }
.dark p, .bg-navy p { color: #d8e2ee; }
.dark .eyebrow, .bg-navy .eyebrow { color: var(--pink); }
.border-top { border-top: 1px solid var(--line); }
.border-bottom { border-bottom: 1px solid var(--line); }

/* 10. Cartes -------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { border: 1px solid var(--line); transition: border-color .2s; display: flex; flex-direction: column; background: #fff; color: var(--ink); }
.card:hover { border-color: var(--blue); }
.card-body { padding: 23px; display: flex; flex-direction: column; flex: 1; }
.card-num { color: var(--red); font-weight: 800; font-size: .85rem; letter-spacing: .12em; margin-bottom: 14px; }
.card h3 { margin: 0 0 12px; font-size: 1.35rem; }
.card p { font-size: .98rem; flex: 1; }

/* 11. Méthode ------------------------------------------------------------- */
.approach { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.steps { border-top: 1px solid #ffffff55; }
.step { padding: 22px 0; border-bottom: 1px solid #ffffff55; display: grid; grid-template-columns: 45px 1fr; gap: 15px; }
.step b { color: var(--pink); }
.bg-white .steps, .bg-soft .steps { border-color: var(--line); }
.bg-white .step, .bg-soft .step { border-color: var(--line); }
.bg-white .step b, .bg-soft .step b { color: var(--red); }

/* 12. Contextes ----------------------------------------------------------- */
.refs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 30px; }
.refs span { padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 800; background: #fff; }

/* 13. Contact ------------------------------------------------------------- */
.contact-card { background: var(--soft); border-top: 5px solid var(--red); padding: 30px; max-width: 560px; color: var(--ink); }
.contact-card a { display: block; border-bottom: 1px solid var(--line); padding: 17px 0; font-size: 1.2rem; font-weight: 800; }
.contact-card a:hover { color: var(--red); }

/* 14. Page expertise ------------------------------------------------------ */
.detail { padding-top: 60px; }
.detail-top { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; margin-top: 30px; }
.detail h1 { font-size: clamp(2.6rem, 4.6vw, 4.6rem); line-height: 1.08; letter-spacing: -.07em; margin: 15px 0; }
.section-nav { display: flex; flex-wrap: wrap; gap: 12px; margin: 50px 0 15px; border-top: 1px solid var(--line); padding: 25px 0; }
.section-nav a { padding: 12px 16px; border: 1px solid var(--line); font-size: .9rem; font-weight: 700; }
.section-nav a:hover { color: var(--red); border-color: var(--red); }
.service-section { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; padding: 65px 0; border-bottom: 1px solid var(--line); }
.service-section:nth-of-type(even) .service-copy, .service-section.reverse .service-copy { order: 2; }
.service-section.no-reverse .service-copy { order: 0; }
.service-section .photograph { height: 410px; }
.service-copy h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); letter-spacing: -.045em; line-height: 1.12; margin: 17px 0; }
.service-copy ul, .service-list { padding-left: 20px; }
.service-copy li, .service-list li { font-size: 1rem; line-height: 1.6; margin: 12px 0; padding-left: 4px; color: var(--muted); }
.service-copy li::marker, .service-list li::marker { color: var(--red); }
.service-contact { margin: 65px 0 35px; padding: 35px; background: var(--soft); display: flex; align-items: center; gap: 35px; border-left: 4px solid var(--red); }
.service-contact > div { flex: 1; }
.service-contact h2 { font-size: 2rem; letter-spacing: -.04em; margin: 12px 0; }
.service-contact .btn { flex-shrink: 0; }
.other-services { display: flex; flex-wrap: wrap; gap: 14px; }
.other-services a { border-bottom: 1px solid var(--line); padding: 12px 0; margin-right: 15px; font-weight: 700; font-size: .9rem; }
.other-services a:hover { color: var(--red); border-color: var(--red); }

/* 15. Pages --------------------------------------------------------------- */
.page-header { background: var(--soft); padding: 70px 0; border-bottom: 1px solid var(--line); }
.page-header h1 { font-size: clamp(2.6rem, 4.6vw, 4.6rem); line-height: 1.08; letter-spacing: -.07em; margin: 15px 0 0; }
.page-header p { max-width: 680px; }
.page-header-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 55px; align-items: center; }
.page-header-grid .photograph { height: 340px; }
.content-area h1 { font-size: clamp(2.5rem, 4.5vw, 4.3rem); line-height: 1.05; letter-spacing: -.065em; margin: 15px 0; }
.entry-content { max-width: 780px; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size: 2rem; letter-spacing: -.04em; line-height: 1.15; }
.entry-content h3 { font-size: 1.4rem; letter-spacing: -.02em; }
.entry-content li { color: var(--muted); line-height: 1.7; margin: 6px 0; }
.entry-content li::marker { color: var(--red); }
.entry-content a:not(.btn) { color: var(--red); text-decoration: underline; }
.entry-content blockquote { margin: 30px 0; padding: 10px 0 10px 24px; border-left: 4px solid var(--red); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--soft); }
.page-full .entry-content, .page-template-template-full-width .entry-content { max-width: none; }
.post-list article { border-bottom: 1px solid var(--line); padding: 30px 0; }
.post-list h2 { margin: 0 0 8px; font-size: 1.6rem; letter-spacing: -.03em; }
.post-list h2 a:hover { color: var(--red); }
.pagination .nav-links { display: flex; gap: 10px; margin-top: 30px; }
.pagination .page-numbers { padding: 10px 14px; border: 1px solid var(--line); font-weight: 700; }
.pagination .current { background: var(--red); color: #fff; border-color: var(--red); }

/* 16. Encadrés ------------------------------------------------------------ */
.box { padding: 30px; background: var(--soft); border-top: 4px solid var(--line); }
.box-red { border-top-color: var(--red); }
.box-blue, .detail-box { border-top-color: var(--blue); }
.box-navy { background: var(--navy); color: #fff; border-top-color: var(--pink); }
.box-navy p { color: #d8e2ee; }
.boxes { margin: 45px 0; }
.boxes .box .eyebrow { margin-bottom: 10px; }
.boxes .box h3 { margin: 0 0 8px; font-size: 1.2rem; letter-spacing: -.02em; }
.boxes .box p { font-size: .98rem; }
.box-navy .eyebrow { color: var(--pink); }
.bg-soft .box:not(.box-navy), .references .box:not(.box-navy) { background: #fff; }
.quote { position: relative; margin: 0 0 65px; padding: 34px 36px 30px 92px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); }
.quote::before { content: '“'; position: absolute; left: 26px; top: 6px; font-size: 5.5rem; line-height: 1; color: var(--pink); font-family: Georgia, serif; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.5; letter-spacing: -.01em; color: var(--ink); }
.quote figcaption { margin-top: 18px; font-size: .9rem; color: var(--muted); }
.quote-author { display: block; color: var(--navy); font-weight: 800; }
.quote-role { display: block; margin-top: 2px; }
.quote-dark { background: var(--navy); border-color: var(--navy); border-left-color: var(--pink); }
.quote-dark blockquote p, .quote-dark .quote-author { color: #fff; }
.quote-dark figcaption { color: #d8e2ee; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 55px; }
.detail-box { padding: 24px; background: var(--soft); border-top: 4px solid var(--blue); }
.detail-box h3 { margin-top: 0; }

/* 17. Grilles utilitaires ------------------------------------------------- */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.stack > * + * { margin-top: 1em; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-l { margin-top: 55px !important; }
.mb-l { margin-bottom: 55px !important; }

/* 18. WordPress ----------------------------------------------------------- */
.alignleft { float: left; margin: .3em 1.6em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.6em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { max-width: var(--wrap); }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption, .wp-caption-text, .gallery-caption, .wp-block-image figcaption { font-size: .85rem; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sticky, .bypostauthor { display: block; }
.wp-block-button__link { background: var(--red); color: #fff; border-radius: 0; font-weight: 800; padding: 14px 18px; }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--navy); border: 1px solid var(--navy); }

/* Commentaires et étiquettes */
.post-tags { margin-top: 40px; }
.post-tags .eyebrow { margin-right: 8px; }
.post-tags a { color: var(--red); font-weight: 700; }
.post-navigation { margin-top: 40px; padding-top: 25px; border-top: 1px solid var(--line); }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 20px; font-weight: 700; }
.comments-area { max-width: 780px; margin-top: 55px; padding-top: 40px; border-top: 1px solid var(--line); }
.comments-title { font-size: 1.6rem; letter-spacing: -.03em; }
.comment-list { list-style: none; margin: 0 0 30px; padding: 0; }
.comment-list .children { list-style: none; padding-left: 30px; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--line); }
.comment-meta { font-size: .9rem; color: var(--muted); margin-bottom: 8px; }
.comment-author .avatar { float: left; margin-right: 12px; border-radius: 50%; }
.comment-author .fn { color: var(--navy); font-weight: 800; font-style: normal; }
.comment-respond { background: var(--soft); border-top: 4px solid var(--red); padding: 28px; margin-top: 30px; }
.comment-reply-title { margin-top: 0; font-size: 1.4rem; letter-spacing: -.02em; }
.comment-form label { display: block; font-weight: 700; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); font: inherit; background: #fff; }
.comment-form textarea:focus, .comment-form input:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.reply a { color: var(--red); font-weight: 700; font-size: .9rem; }

/* 19. Elementor ----------------------------------------------------------- */
.rjtel-elementor .entry-content, .elementor-page .entry-content { max-width: none; }
.elementor-widget[class*="elementor-widget-rjtel-"] .elementor-widget-container { margin: 0; padding: 0; }
.elementor .photograph img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.elementor-widget[class*="elementor-widget-rjtel-"]:not(:last-child) { margin-bottom: 0; margin-block-end: 0; }
.elementor-element.e-con:has(> .elementor-widget[class*="elementor-widget-rjtel-"]) { --padding-top: 0; --padding-bottom: 0; --padding-left: 0; --padding-right: 0; --gap: 0; }
.elementor-section.elementor-section-full_width > .elementor-container > .elementor-column > .elementor-widget-wrap { padding: 0; }
.elementor-widget-rjtel-section-head .section-head { margin-bottom: 0; }
.elementor-editor-active .site-header { position: relative; }

/* 20. Guide de style ------------------------------------------------------ */
.styleguide .sg-block { padding: 50px 0; border-bottom: 1px solid var(--line); }
.styleguide .sg-label { font-family: Consolas, monospace; font-size: .8rem; background: var(--soft); color: var(--navy); padding: 3px 7px; border: 1px solid var(--line); display: inline-block; margin: 0 6px 6px 0; }
.styleguide .sg-colors { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.styleguide .sg-swatch { border: 1px solid var(--line); }
.styleguide .sg-swatch div { height: 80px; }
.styleguide .sg-swatch span { display: block; padding: 10px; font-size: .85rem; font-weight: 700; }
.styleguide .sg-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.styleguide .sg-search { width: 100%; max-width: 480px; padding: 12px 14px; border: 1px solid var(--line); font: inherit; margin: 10px 0 30px; }
.styleguide .sg-search:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.styleguide .sg-group { margin-bottom: 40px; }
.styleguide .sg-group h3 { font-size: 1.35rem; letter-spacing: -.02em; margin: 0 0 6px; }
.styleguide .sg-scroll { overflow-x: auto; border: 1px solid var(--line); }
.styleguide .sg-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
.styleguide .sg-table th { text-align: left; background: var(--soft); color: var(--navy); padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.styleguide .sg-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); line-height: 1.5; }
.styleguide .sg-table tr:last-child td { border-bottom: 0; }
.styleguide .sg-table { table-layout: fixed; }
.styleguide .sg-table th:nth-child(1) { width: 24%; }
.styleguide .sg-table th:nth-child(2) { width: 38%; }
.styleguide .sg-table th:nth-child(3) { width: 38%; }
.styleguide .sg-table td:first-child code { word-break: break-all; }
.styleguide .sg-table td code { font-family: Consolas, monospace; font-size: .82rem; color: var(--ink); word-break: break-word; }
.styleguide .sg-empty { display: none; }

/* 21. Pied de page -------------------------------------------------------- */
.site-footer { background: var(--navy); color: #dce6f3; padding: 25px 0; font-size: .85rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* 22. Responsive ---------------------------------------------------------- */
@media (max-width: 1024px) {
	.cards-4, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 850px) {
	.hero-grid, .section-head, .approach, .detail-top, .service-section, .page-header-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; }
	.approach { gap: 30px; }
	.hero-copy { padding: 65px 0; }
	.hero-photo, .home-cover { min-height: 330px; height: 330px; }
	.cards, .detail-grid { grid-template-columns: 1fr 1fr; }
	.refs { grid-template-columns: 1fr 1fr; }
	.service-section { gap: 28px; }
	.service-section:nth-of-type(even) .service-copy, .service-section.reverse .service-copy { order: 0; }
	.service-section .photograph { height: 340px; }
	.service-contact { display: block; }
	.detail-cover { height: 360px; }
	.nav-toggle { display: block; }
	.nav { position: absolute; top: 88px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; }
	.nav.is-open { display: block; }
	.nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 22px 20px; }
	.nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
	.nav .contact > a { margin-top: 14px; text-align: center; }
	.nav { max-height: calc(100vh - 88px); overflow-y: auto; }
	.nav .sub-menu { position: static; min-width: 0; padding: 0 0 0 16px; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.nav .sub-menu::before, .nav .menu-item-has-children > a::after { display: none; }
	.nav .sub-menu a { padding: 12px 0; font-size: .85rem; color: var(--muted); border-left: 0; border-bottom: 1px solid var(--line); }
	.nav .sub-menu a:hover { background: none; }
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}
@media (max-width: 560px) {
	.wrap, .wrap-narrow { width: calc(100% - 32px); }
	.cards, .cards-2, .cards-4, .detail-grid, .grid-4, .refs, .gallery { grid-template-columns: 1fr; }
	.hero h1, .display-1 { font-size: 3.5rem; }
	.section, .contact-section, .content-area { padding: 60px 0; }
	.detail { padding-top: 35px; }
	.service-section { padding: 40px 0; }
	.service-section .photograph, .detail-cover { height: 270px; }
	.section-nav { gap: 8px; }
	.section-nav a { padding: 10px; font-size: .875rem; }
	.service-contact { padding: 24px; }
	.quote { padding: 62px 22px 22px; }
	.quote::before { left: 18px; top: 2px; font-size: 4.5rem; }
	.boxes { margin: 30px 0; }
	.card-photo { height: 230px; }
	.site-footer .wrap { display: block; }
	.site-footer span { display: block; margin-bottom: 6px; }
}
