/*
Theme Name: Hello Elementor Child - Girod Couverture
Template: hello-elementor
Description: Thème enfant Hello Elementor pour le site de Girod Couverture, artisan couvreur à Theix-Noyalo.
Version: 1.5.0
Text Domain: hello-elementor-child-girod
*/

:root {
	--gc-blue: #276AAF;
	--gc-blue-dark: #1c4d80;
	--gc-anthracite: #4B5563;
	--gc-white: #FFFFFF;
	--gc-dark: #16202B;
	--gc-text: #3E4A57;
}

body {
	font-family: 'Public Sans', sans-serif;
	color: var(--gc-anthracite);
}

h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
	font-family: 'Archivo', sans-serif;
}

a {
	color: var(--gc-blue);
	text-decoration: none;
}

a:hover {
	color: var(--gc-blue-dark);
}

/* Pas de soulignement sur les liens de contenu (sauf crédit footer) */
.elementor-widget-html a,
.elementor-widget-text-editor a,
.gc-card-link {
	text-decoration: none !important;
}

.gc-credit a {
	text-decoration: underline !important;
}

/* ---------------------------------------------------------------
   BOUTONS — jamais soulignés
--------------------------------------------------------------- */
.elementor-button,
a.elementor-button,
.gc-btn {
	text-decoration: none !important;
	font-weight: 700;
	border-radius: 8px;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.gc-btn {
	display: inline-block;
	font-family: 'Public Sans', sans-serif;
	font-size: 15px;
	line-height: 1;
	padding: 16px 28px;
	cursor: pointer;
}

.gc-btn-primary {
	background: var(--gc-blue);
	color: #fff !important;
}

.gc-btn-primary:hover {
	background: var(--gc-blue-dark);
	color: #fff !important;
}

.gc-btn-white {
	background: #fff;
	color: var(--gc-blue) !important;
}

.gc-btn-white:hover {
	background: #f0f4f9;
	color: var(--gc-blue) !important;
}

.gc-btn-outline {
	background: transparent;
	color: var(--gc-dark) !important;
	border: 1.5px solid #C7D6E6;
}

.gc-btn-outline:hover {
	background: #F5F8FC;
	color: var(--gc-dark) !important;
}

.gc-btn-outline-white {
	background: transparent;
	color: #fff !important;
	border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.gc-btn-outline-white:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff !important;
}

/* Groupe de boutons (rapprochés, gap 16px) */
.gc-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.gc-btn-row.gc-center {
	justify-content: center;
}

/* ---------------------------------------------------------------
   BANDEAUX DIAGONAUX (clip-path)
--------------------------------------------------------------- */
.gc-hero-diagonal {
	clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
}

.gc-hero-diagonal-home {
	clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.gc-diagonal-dark-top {
	clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
}

.gc-site-footer {
	clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%);
}

/* ---------------------------------------------------------------
   HERO
--------------------------------------------------------------- */
.gc-hero-home .elementor-container {
	align-items: center;
}

.gc-hero-badges {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}

.gc-hero-badges span {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-weight: 700;
	font-size: 12.5px;
	padding: 8px 16px;
	border-radius: 100px;
}

/* Image du hero : grande, arrondie, bord blanc */
.gc-hero-img img {
	width: 100%;
	height: 380px;
	object-fit: cover;
	border-radius: 12px;
	border: 6px solid #fff;
	display: block;
}

/* ---------------------------------------------------------------
   HEADER FIXE — fond blanc en permanence, sur tous les écrans
--------------------------------------------------------------- */
.gc-site-header,
.gc-site-header.gc-scrolled {
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 999;
	background-color: #ffffff !important;
	box-shadow: 0 2px 12px rgba(22, 32, 43, 0.1);
}

/* Liens de navigation en bleu */
.gc-site-header .hfe-menu-item {
	color: rgba(39, 106, 175, 0.75) !important;
	transition: color 0.2s ease;
	text-decoration: none !important;
}

.gc-site-header .menu-item.current-menu-item > .hfe-menu-item,
.gc-site-header .hfe-menu-item:hover {
	color: var(--gc-blue) !important;
}

/* Bouton "Devis gratuit" : bleu plein, texte blanc */
.gc-site-header .elementor-button {
	background-color: var(--gc-blue) !important;
	color: #ffffff !important;
	transition: background-color 0.2s ease;
}

.gc-site-header .elementor-button:hover {
	background-color: var(--gc-blue-dark) !important;
	color: #ffffff !important;
}

/* Icône du menu burger en bleu */
.gc-site-header .hfe-nav-menu__toggle,
.gc-site-header .hfe-nav-menu-icon,
.gc-site-header .hfe-nav-menu-icon i,
.gc-site-header .hfe-nav-menu-icon svg {
	color: var(--gc-blue) !important;
	fill: var(--gc-blue) !important;
}

/* Panneau déroulant du menu burger */
.gc-site-header nav.hfe-dropdown,
.gc-site-header nav.hfe-dropdown-expandible {
	background-color: #ffffff !important;
}

/* Sous-menu déroulant "Nos prestations" */
.gc-site-header .sub-menu {
	background: #ffffff !important;
	border: 1px solid #E4EAF0 !important;
	border-radius: 10px !important;
	box-shadow: 0 12px 32px rgba(22, 32, 43, 0.14) !important;
	padding: 8px 0 !important;
	min-width: 240px !important;
	margin-top: 10px !important;
	overflow: hidden;
}

.gc-site-header .sub-menu .hfe-sub-menu-item {
	color: var(--gc-dark) !important;
	padding: 11px 22px !important;
	font-size: 14.5px !important;
	font-weight: 600 !important;
	transition: background 0.15s ease, color 0.15s ease;
}

.gc-site-header .sub-menu .menu-item:hover > .hfe-sub-menu-item,
.gc-site-header .sub-menu .hfe-sub-menu-item:hover,
.gc-site-header .sub-menu .current-menu-item > .hfe-sub-menu-item {
	color: var(--gc-blue) !important;
	background: #F5F8FC !important;
}

/* Le chevron suit la couleur du menu (blanc en haut, bleu au scroll) */
.gc-site-header .hfe-menu-toggle,
.gc-site-header .menu-item-has-children > a .hfe-menu-item-icon {
	color: inherit !important;
}


/* ---------------------------------------------------------------
   FORMULAIRE DE DEVIS (carte centrée, chevauche le hero)
--------------------------------------------------------------- */
.elementor-element.gc-devis-card {
	max-width: 1000px;
	margin: -70px auto 0 !important;
	position: relative;
	z-index: 5;
}

@media (max-width: 1080px) {
	.elementor-element.gc-devis-card {
		margin-left: 20px !important;
		margin-right: 20px !important;
	}
}

/* CF7 */
.wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.gc-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.gc-field {
	display: flex;
	flex-direction: column;
}

.gc-field .gc-label,
.wpcf7-form label {
	font-size: 12px;
	font-weight: 700;
	color: var(--gc-dark);
	display: block;
	margin-bottom: 7px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
	border: 1px solid #D6E0EA;
	border-radius: 8px;
	background: #F5F8FC;
	padding: 13px 15px;
	width: 100%;
	font-family: 'Public Sans', sans-serif;
	font-size: 15px;
	color: var(--gc-dark);
	box-sizing: border-box;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
	outline: none;
	border-color: var(--gc-blue);
	background: #fff;
}

.wpcf7-form textarea {
	min-height: 120px;
	resize: vertical;
}

.wpcf7-form .wpcf7-submit {
	background: var(--gc-blue);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	padding: 17px;
	border-radius: 8px;
	border: none;
	width: 100%;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.wpcf7-form .wpcf7-submit:hover {
	background: var(--gc-blue-dark);
}

.wpcf7-form .wpcf7-not-valid-tip {
	font-size: 12.5px;
	color: #b91c1c;
	margin-top: 4px;
}

.wpcf7-response-output {
	border-radius: 8px;
	font-size: 14px;
	margin: 4px 0 0 !important;
}

/* ---------------------------------------------------------------
   CARTES PRESTATIONS (image en haut, boîte arrondie)
--------------------------------------------------------------- */
.elementor-element.gc-service-card {
	border: 1px solid #E4EAF0;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	height: 100%;
}

/* colonne hôte de la carte : hauteur pleine pour cartes égales */
.gc-service-card > .elementor-container {
	height: 100%;
}

.gc-service-card .elementor-widget-image,
.gc-service-card .elementor-widget-html {
	margin: 0;
}

.gc-card-img img {
	width: 100%;
	height: 190px;
	object-fit: cover;
	display: block;
	border-radius: 0 !important;
}

.gc-card-body {
	padding: 26px;
}

.gc-card-title {
	font-family: 'Archivo', sans-serif;
	font-weight: 700;
	font-size: 19px;
	color: var(--gc-dark);
	margin: 0 0 10px;
}

.gc-card-text {
	font-size: 14.5px;
	color: var(--gc-text);
	line-height: 1.55;
	margin: 0 0 16px;
}

.gc-card-link {
	font-weight: 700;
	font-size: 14px;
	color: var(--gc-blue);
	text-decoration: none;
}

.gc-card-link:hover {
	color: var(--gc-blue-dark);
}

/* la colonne extérieure garde une hauteur pleine pour aligner les cartes */
.gc-service-col > .elementor-widget-wrap,
.gc-service-col.elementor-column > .elementor-column-wrap {
	height: 100%;
}

/* ---------------------------------------------------------------
   IMAGE DE PRÉSENTATION (grande, arrondie)
--------------------------------------------------------------- */
.gc-feature-img img {
	width: 100%;
	height: 360px;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}

/* ---------------------------------------------------------------
   GALERIE RÉALISATIONS (vignettes carrées arrondies)
--------------------------------------------------------------- */
.gc-gallery-img img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}

/* ---------------------------------------------------------------
   CARTE GOOGLE (coins arrondis)
--------------------------------------------------------------- */
.gc-map-embed {
	border-radius: 14px;
	overflow: hidden;
	line-height: 0;
	box-shadow: 0 6px 20px rgba(22, 32, 43, 0.08);
}

.gc-map-embed iframe {
	width: 100%;
	display: block;
	border: 0;
}

.gc-map-embed.gc-map-tall iframe {
	height: 400px;
}

.gc-map-embed.gc-map-short iframe {
	height: 280px;
}

/* ---------------------------------------------------------------
   ACCORDÉON FAQ (sombre, lisible — comme la maquette)
--------------------------------------------------------------- */
.gc-faq .elementor-accordion {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.gc-faq .elementor-accordion-item {
	background: var(--gc-dark);
	border: none !important;
	overflow: hidden;
}

.gc-faq .elementor-accordion-item:first-child {
	border-radius: 10px 10px 0 0;
}

.gc-faq .elementor-accordion-item:last-child {
	border-radius: 0 0 10px 10px;
}

.gc-faq .elementor-tab-title {
	border: none !important;
	padding: 22px 26px;
}

.gc-faq .elementor-tab-title,
.gc-faq .elementor-tab-title a,
.gc-faq .elementor-accordion-title {
	color: #ffffff !important;
	font-family: 'Public Sans', sans-serif !important;
	font-weight: 600 !important;
	font-size: 15.5px !important;
	text-decoration: none !important;
}

.gc-faq .elementor-tab-content {
	background: var(--gc-dark);
	border: none !important;
	color: rgba(255, 255, 255, 0.7) !important;
	font-size: 14px;
	line-height: 1.6;
	padding: 0 26px 22px !important;
}

.gc-faq .elementor-accordion-icon {
	color: #ffffff !important;
}

.gc-faq .elementor-accordion-icon svg,
.gc-faq .elementor-accordion-icon i {
	color: #ffffff !important;
	fill: #ffffff !important;
}

/* ---------------------------------------------------------------
   BLOC DE TEXTE SEO (pages services) — moderne et lisible
--------------------------------------------------------------- */
.gc-prose {
	max-width: 820px;
	margin: 0 auto;
}

.gc-prose .gc-eyebrow {
	display: inline-block;
	font-weight: 700;
	font-size: 12.5px;
	letter-spacing: 0.08em;
	color: var(--gc-blue);
	margin-bottom: 14px;
}

.gc-prose h2 {
	font-family: 'Archivo', sans-serif;
	font-weight: 700;
	font-size: 30px;
	line-height: 1.25;
	color: var(--gc-dark);
	margin: 0 0 22px;
}

.gc-prose h3 {
	font-family: 'Archivo', sans-serif;
	font-weight: 700;
	font-size: 20px;
	color: var(--gc-dark);
	margin: 36px 0 12px;
}

.gc-prose p {
	font-size: 16.5px;
	line-height: 1.8;
	color: var(--gc-text);
	margin: 0 0 18px;
}

.gc-prose ul {
	list-style: none;
	margin: 4px 0 22px;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 28px;
}

.gc-prose li {
	position: relative;
	padding-left: 28px;
	font-size: 15.5px;
	line-height: 1.5;
	color: var(--gc-dark);
}

.gc-prose li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0;
	color: var(--gc-blue);
	font-weight: 700;
}

.gc-prose .gc-prose-note {
	margin-top: 26px;
	padding: 18px 22px;
	background: #F5F8FC;
	border-left: 3px solid var(--gc-blue);
	border-radius: 8px;
	font-size: 15.5px;
	color: var(--gc-dark);
}

@media (max-width: 767px) {
	.gc-prose ul {
		grid-template-columns: 1fr;
	}

	.gc-prose h2 {
		font-size: 25px;
	}
}

/* ---------------------------------------------------------------
   FOOTER crédit
--------------------------------------------------------------- */
.gc-credit a {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: underline;
}

.gc-credit a:hover {
	color: #fff;
}

/* ---------------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------------- */
@media (max-width: 767px) {
	.gc-form-row {
		grid-template-columns: 1fr;
	}

	.gc-hero-img img {
		height: 260px;
	}

	.gc-btn-row .gc-btn {
		flex: 1 1 auto;
		text-align: center;
	}
}
